aria2_server.logger
¶
The logger module for aria2_server
.
This module will never import any other modules in aria2_server
,
So, any other modules can import this module to use the logger.
__all__
module-attribute
¶
__all__ = (
"LOGGER_NAME",
"configure_default_logging",
"critical",
"debug",
"error",
"exception",
"info",
"logger",
"use_colors",
"warning",
)
use_colors
module-attribute
¶
use_colors: bool = True
The flag to control whether to use ANSI color codes in the log messages.