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
Truedetailed debug logs inludcing filename and function name are displayed. IfFalseonly the message logged from errors, warnings and infos will be displayed.