Directories
¶
| Path | Synopsis |
|---|---|
|
Basic example: NewLogger builder, logging levels, fields, groups.
|
Basic example: NewLogger builder, logging levels, fields, groups. |
|
Context example: request-scoped fields via context.Context.
|
Context example: request-scoped fields via context.Context. |
|
logfc example: logger-in-context pattern.
|
logfc example: logger-in-context pattern. |
|
Router example: multi-destination logging with independent encoders, level filters, and sync/async I/O.
|
Router example: multi-destination logging with independent encoders, level filters, and sync/async I/O. |
|
slog integration example: logf as backend for slog, third-party libraries, and mixed logf/slog usage in the same application.
|
slog integration example: logf as backend for slog, third-party libraries, and mixed logf/slog usage in the same application. |
|
WriterSlot example: lazy destination initialization.
|
WriterSlot example: lazy destination initialization. |
Click to show internal directories.
Click to hide internal directories.