monty.logging module

Logging tools


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


main – main function.


Useful logging decorator. If a method is logged, the beginning and end of the method call will be logged at a pre-specified level.


level – Level to log method at. Defaults to DEBUG.