Module logging

Module logging 

Source

Modules§

mock
Mock logger support for testing
timed
Timed logging macros that automatically measure and append execution time

Structs§

Logger
Record
Structured log record

Enums§

LogLevel

Traits§

LogBackend

Functions§

init_logger
Initialize the global logger with a sender channel This can only be called once - subsequent calls will be ignored
log
Send a log record through the global logger In debug builds, checks for a thread-local mock logger first
logger
Get the global logger