oemof / DHNx

District heating system optimisation and simulation models
MIT License
27 stars 12 forks source link

Fix suboptimal usage of the logging module #132

Closed jnettels closed 9 months ago

jnettels commented 9 months ago

Each module should create its own logger, to allow calling logger.info() instead of logging.info(). Otherwise this prevents other scripts importing the module from setting their own formatting and levels per imported module. Fixes #129.