module documentation
A central manager that storing configs, provide logging mechanism etc... This is a base manager, which means that it should not import any module to avoid cyclic dependencies. To add any capabilities to the manager, create a new file to inherit the manager. The base manager is using borg pattern, so class inheritance will also guarantee singleton properties for all instances.
Class |
|
Enable custom logging signature to differentiate the context, where the first arg is the operation name. E.g. To log a stuff about ssa, >>> manager = BaseManager() >>> manager.logger.info("ssa", "perform an operation related to ssa")... |
Class |
|
Custom logger that allow logging time taken >>> c = CustomLogger(logging.info) >>> c("COV", "Running cov") [COV] Running cov... >>> with c("COV", "Running cov..."): ... list(range(10000)) [COV] Running cov... |
Class |
|
Undocumented |
Class |
|
Undocumented |
Function | display |
Undocumented |