Developer guide

Understanding log output structure

Learn the JSON schema, categories, and short-key format of ArgusLogs telemetry for dashboards and sinks.

Tutorials are hands-on walkthroughs (prerequisites, install, configuration, code, expected result, explanation, then next steps). Official reference stays in documentation — this is not a full docs clone.

Section 4 of 6 Schema

Database category

Queries intercepted by ArgusLogs.DatabaseTracker capture the raw SQL syntax, execution latency, and bound parameters under Category: "Database".

Database query log
{
  "timestamp": "2026-07-30T19:55:05.180Z",
  "level": "Information",
  "category": "Database",
  "message": "Executed SQL Query",
  "traceId": "fa7dedf4-ec83-4b6e-a3f3-01883f7047b6",
  "spanId": "bc110a24-7f8a-45c1-90a1-432ff48ae562",
  "parentId": "8b9c2401-26ab-4a1e-8fe5-12a4bdf62002",
  "logNum": 4,
  "duration": "35.12ms",
  "methodName": "ProjectRepository.GetProjectByIdAsync",
  "data": {
    "sql": "SELECT p.* FROM Projects p WHERE p.Id = @projectId LIMIT 1",
    "parameters": {
      "@projectId": "491cc020-b2d7-4eca-8245-06e4361ee6f4"
    },
    "rowsAffected": 1
  }
}