utils.log
— Wrapper for setting up a user defined logger¶
The utils.log
module provides logging setup assistance
.. versionadded:: 0.1.0
- plio.utils.log.setup_logging(path='/home/runner/work/plio/plio/plio/examples/loggers/logging.json', level='INFO', env_key='LOG_CFG')[source]¶
Read a log configuration file, written in JSON
- Parameters:
path (string) – The path to the logging configuration file
level (object) – The logger level at which to report
env_key (str) – A potential environment variable where the user defaults logs