Module log

Source
Expand description

Logging

Constants§

INDENT
LOGLEVEL

Functions§

dedent
Reduces the indentation level by two steps.
indent
Increases the current indentation level by adding two spaces. This function accesses a thread-local string variable to modify its content by appending two spaces, effectively augmenting the indentation for subsequent operations that rely on this thread-local state.
log_level
Returns the current logging level as an unsigned 8-bit integer.
set_log_level
Sets the logging level for the application.