deepmol.loggers package
Submodules
deepmol.loggers.logger module
- class Logger(*args, **kwargs)[source]
Bases:
object
- critical(msg: str, **kwargs)[source]
Log a message with severity ‘CRITICAL’ on the root logger.
- Parameters:
msg (str) – The message to log.
kwargs (dict) – The keyword arguments to pass to the logger.
- debug(msg: str, **kwargs)[source]
Log a message with severity ‘DEBUG’ on the root logger.
- Parameters:
msg (str) – The message to log.
kwargs (dict) – The keyword arguments to pass to the logger.
- error(msg: str, **kwargs)[source]
Log a message with severity ‘ERROR’ on the root logger.
- Parameters:
msg (str) – The message to log.
kwargs (dict) – The keyword arguments to pass to the logger.
- info(msg: str, **kwargs)[source]
Log a message with severity ‘INFO’ on the root logger.
- Parameters:
msg (str) – The message to log.
kwargs (dict) – The keyword arguments to pass to the logger.
- set_file_path(file_path: str)[source]
Sets the file path of the logger.
- Parameters:
file_path (str) – The path to the log file.