pyneql.log package¶
Submodules¶
pyneql.log.loggingsetup module¶
loggingsetup.py is part of the project PyNeQL Author: Valérie Hanoka
-
pyneql.log.loggingsetup.highlight_str(s, highlight_type=None)¶ Highlighter for logging using ANSI escape code.
Parameters: - s – the element to highlight in the logs
- highlight_type – types of highlight
Returns: an highlighted string
-
pyneql.log.loggingsetup.setup_logging(default_path='logging.json', default_level=20, env_key='LOG_CFG')¶ Setup logging configuration
Parameters: - default_path – Default path of the json logging configuration file
- default_level –
- env_key –