Module slog::logger [] [src]

Logger - logging handle

Logger

Loggers are thread-safe and reference counted, so can be freely passed around the code.

Each logger is built with a set of key-values.

Child loggers are build from existing loggers, and copy all the key-values from their parents

Loggers form hierarchies sharing a drain. Setting a drain on any logger will change it on all loggers in given hierarchy.

Structs

Logger

Logger

RecordInfo

Common information about a logging record