Skip to main content

Module log

Module log 

Source
Expand description

Minimal structured logging.

Log lines go to stderr as human readable text in development and as one JSON object per line in production (configurable). With the tracing feature, events are emitted through tracing instead so any subscriber (OpenTelemetry, Datadog, …) can collect them.

Functions§

configure
debug
error
info
is_json
request
Request log line.
warn