Logging
Logging.
- mdacli.logger.setup_logging(logobj, logfile=None, debug=False)[source]
Create a logging environment for a given logobj.
- Parameters
logobj (
logging.Logger
) – A logging instancelogfile (str) – Name of the log file
debug (bool) – If
True
detailed debug logs inludcing filename and function name are displayed. IfFalse
only the message logged from errors, warnings and infos will be displayed.