iiasa / message-ix-buildings

Apache License 2.0
2 stars 3 forks source link

Replace `print()` statements with logging #25

Closed measrainsey closed 1 month ago

measrainsey commented 2 months ago

Simple PR to replace print() statements with python's logging functions.

This should fix #24.

I've implemented a custom logger that:

For example, running run_preprocess.py results in the following log files:

Hopefully a simple review, but please let me know if I should fix anything.