thouska / spotpy

A Statistical Parameter Optimization Tool
https://spotpy.readthedocs.io/en/latest/
MIT License
247 stars 149 forks source link

Feature logging #293

Open cpwnd opened 1 year ago

cpwnd commented 1 year ago

Hey I merged the feature-logging branch to the latest master changes, to be in sync with the spotpy master again. Unfortunately I forgot un-synced changes in my fork vs my local branches, therefore I pushed a new branch to my fork and created a new merge request. So this branch is now perfectly in sync with thouska/spotpy:master. This replaces #244 as merge request (I closed it already) and the preceding discussion in issue #239.

Note that writing to stdout can decrease overall performance, regardless of normal print or a logging print. The advantage of using a logging mechanism is central configuration of message pattern and log levels.

Hope this finally finds it's way into the codebase :)

cpwnd commented 1 year ago

Feel free to apply your changes. From my perspective they are reasonable, but I don't have time for this at the moment.