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 fieldscombined: Apache/nginx Combined Log Format with trace_id extension
Structs§
- Access
LogEntry - Access log entry with trace_id for request correlation
- Audit
LogEntry - Audit log entry for security events
- Error
LogEntry - Error log entry
- LogManager
- Log manager handling all log file writers
Enums§
- Access
LogFormat - Access log format
Type Aliases§
- Shared
LogManager - Shared log manager that can be passed around