Expand description
Logging
cuprated
log filtering settings and related functionality.
Structs§
- Cuprated
Tracing Filter - The
Filter
used to alter cuprated’s log output.
Statics§
- FILE_
WRITER_ 🔒FILTER_ HANDLE - A
OnceLock
which holds theHandle
to update the file logging output. - STDOUT_
FILTER_ 🔒HANDLE - A
OnceLock
which holds theHandle
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
.