Skip to main content

Module logger

Module logger 

Expand description

Log traits live here, which are called throughout the library to provide useful information for debugging purposes.

Log messages should be filtered client-side by implementing check against a given Record’s Level field. Each module may have its own Logger or share one.

Structs§

Record
A Record, unit of logging output with Metadata to enable filtering Module_path, file, line to inform on log’s source
WithContext
Adds relevant context to a Record before passing it to the wrapped Logger.

Enums§

Level
An enum representing the available verbosity levels of the logger.

Traits§

Logger
A trait encapsulating the operations required of a logger.