Skip to content

Extend A Logger

Start from an Example flow, then add one extension at a time. These pages explain when an abstraction is useful and which operational boundary it introduces.

Extension Map

NeedExtensionMain trade-off
Absorb short output burstsQueueingYou must choose overflow and flush behavior.
Send records to multiple destinations or route by levelSink compositionMore explicit construction than presets.
Control terminal appearanceText formattingFormatting affects presentation, not record structure.
Share code across native and web targetsTarget boundariesFile and async runtime behavior differ by backend.
Correlate logs with distributed requestsTrace contextPropagation and export stay application-owned.

For exact function signatures, follow each page's links into the API reference.

Published from the repository docs folder with VitePress.