monty.logging module¶
Logging tools
- enable_logging(main)[source]¶
This decorator is used to decorate main functions. It adds the initialization of the logger and an argument parser that allows one to select the loglevel. Useful if we are writing simple main functions that call libraries where the logging module is used
- Parameters
main – main function.