dial_core.utils.log package¶
Module contents¶
-
dial_core.utils.log.
add_handler_to_root
(handler)[source]¶ Add a new handler to the logger defined as ROOT
-
dial_core.utils.log.
get_logger
(logger_name)[source]¶ Configure and return a Logger with logger_name as name.
Return type: Logger
-
dial_core.utils.log.
init_logs
(args)[source]¶ Initialize logging system. Defines the formatting and logging levels for all Logger objects.
-
class
dial_core.utils.log.
log_exception
(message, *, logger=None, on_exceptions=None, reraise=True, exception_format_variable='e')[source]¶