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ยง
- build_
fmt_ ๐layer - Initialize the tracing subscriber
- build_
reloadable_ ๐filter - Create a reloadable layer with the specified
log_level. - init ๐
- Initialize the tracing subscriber
- modify_
logger_ ๐level - Modify the logger level setting. This will reload the logger.
- post_
init ๐ - Initialize the tracing subscriber
- set_
default_ ๐span - Set the default fields in a log, using a global span.
Type Aliasesยง
- Logger
Handle ๐ - Handle to our Logger