Directories
¶
| Path | Synopsis |
|---|---|
|
Basic usage: zero-config InitLogger (default level=info, output=stdout), runtime SetLevel, and Sync on exit.
|
Basic usage: zero-config InitLogger (default level=info, output=stdout), runtime SetLevel, and Sync on exit. |
|
File-only logging with rotation options.
|
File-only logging with rotation options. |
|
Non-context logging + OpenTelemetry metrics (log_total counter).
|
Non-context logging + OpenTelemetry metrics (log_total counter). |
|
Container-style setup: JSON logs to stdout, optionally also to a file (tee).
|
Container-style setup: JSON logs to stdout, optionally also to a file (tee). |
|
Context-aware logging with trace_id injection and auto span events.
|
Context-aware logging with trace_id injection and auto span events. |
Click to show internal directories.
Click to hide internal directories.