rxn.utilities.logging.setup_console_logger
- rxn.utilities.logging.setup_console_logger(level='INFO', format=LoggingFormat.BASIC)[source]
Set up a logger writing to the console (i.e., to stderr).
- Parameters
level (
Union
[int
,str
], default:'INFO'
) – log level, either as a string (“INFO”) or integer (logging.INFO).format (
Union
[LoggingFormat
,str
], default:<LoggingFormat.BASIC: '[%(asctime)s %(levelname)s] %(message)s'>
) – log format, as a LoggingFormat value, or a string directly.
- Return type
None