Skip to main content

Module log

Module log 

Source

Structs§

LogEntry
A single structured log record.
Logger
A thread-safe structured logger that writes to stderr.

Enums§

LogLevel
Severity levels ordered from most verbose to most severe.

Functions§

init_logger
Initialise the global logger. Subsequent calls are no-ops — the first writer wins.
logger
Obtain a reference to the global logger.