Module logging

Module logging 

Source
Expand description

Logging infrastructure for Sentinel proxy

This module provides structured logging to files for:

  • Access logs (request/response data with trace_id)
  • Error logs (errors and warnings)
  • Audit logs (security events)

Access log formats supported:

  • json (default): Structured JSON with all fields
  • combined: Apache/nginx Combined Log Format with trace_id extension

Structs§

AccessLogEntry
Access log entry with trace_id for request correlation
AuditLogEntry
Audit log entry for security events
ErrorLogEntry
Error log entry
LogManager
Log manager handling all log file writers

Enums§

AccessLogFormat
Access log format

Type Aliases§

SharedLogManager
Shared log manager that can be passed around