Skip to main content

Module sql_logger

Module sql_logger 

Source
Expand description

Structured SQL query logging and tracing.

Provides comprehensive SQL query logging with:

  • Query parameters (sanitized for security)
  • Execution timing
  • Result metrics (rows affected)
  • Error tracking
  • Performance statistics

Structs§

SqlQueryLog
SQL query log entry with execution details.
SqlQueryLogBuilder
Builder for creating SQL query logs.

Enums§

SqlOperation
SQL operation type for classification.

Functions§

create_sql_span
Create a tracing span for SQL query execution.