mlair.helpers.logger
¶
Logger class.
Module Contents¶
Classes¶
Basic logger class to unify all logging outputs. |
-
class
mlair.helpers.logger.
Logger
(log_path=None, level_file=logging.DEBUG, level_stream=logging.INFO)¶ Basic logger class to unify all logging outputs.
Logs are saved in local file and returned to std output. In default settings, logging level of file logger is DEBUG, logging level of stream logger is INFO. Class must be imported and initialised in starting script, all subscripts should log with logging.info(), debug, …