watcher#
All functions and features for logging the app
Initialization function#
The initialization process is performed by the src.tetue_generic.watcher.init()
function. This function performs the following tasks:
Procedure for the initialization process#
Removes existing loggers
Defines a custom log level “EXTDEBUG”
Adds a method for the new log level
Configures file output with rotation
Configures console output with color
Log levels#
The following log levels are available:
TRACE
EXTDEBUG
DEBUG
INFO
SUCCESS
WARNING
ERROR
CRITICAL
The log level “EXTDEBUG” is used to display additional information that is not displayed with the “DEBUG” log level.