Module logging

Source
Expand description

Logging

cuprated log filtering settings and related functionality.

Structs§

CupratedTracingFilter
The Filter used to alter cuprated’s log output.

Statics§

FILE_WRITER_FILTER_HANDLE 🔒
A OnceLock which holds the Handle to update the file logging output.
STDOUT_FILTER_HANDLE 🔒
A OnceLock which holds the Handle to update the stdout logging output.

Functions§

init_logging
Initialize tracing for logging to stdout and to a file.
modify_file_output
Modify the file appender CupratedTracingFilter.
modify_stdout_output
Modify the stdout CupratedTracingFilter.