textformer.utils.logging¶
Logging-based methods and helpers.
-
textformer.utils.logging.
get_console_handler
()¶ Gets a console handler to handle logging into console.
- Returns
A handler to output information into console.
-
textformer.utils.logging.
get_file_handler
()¶ Gets a file handler to handle logging into files.
- Returns
A handler to output information into files.
-
textformer.utils.logging.
get_logger
(logger_name)¶ Gets a log and make it avaliable for further use.
- Parameters
logger_name (str) – The name of the logger.
- Returns
A handler to output information into console’s.