Module logger

Source
Expand description

Setup for logging for the service.

Enumsยง

LogLevel ๐Ÿ”’
All valid logging levels

Constantsยง

LOG_LEVEL_DEFAULT ๐Ÿ”’
Default log level

Staticsยง

GLOBAL_SPAN ๐Ÿ”’
Default Span Guard for the Service.
LOGGER_HANDLE ๐Ÿ”’
Logger Handle for the Service.
SPAN_GUARD ๐Ÿ”’
Default Span Guard for the Service.

Functionsยง

init ๐Ÿ”’
Initialize the tracing subscriber
modify_logger_level ๐Ÿ”’
Modify the logger level setting. This will reload the logger.
set_default_span ๐Ÿ”’
Set the default fields in a log, using a global span.

Type Aliasesยง

LoggerHandle ๐Ÿ”’
Handle to our Logger