Largely consistent with additions made in https://github.com/exa-analytics/exa/pull/162 , this merge request intends to introduce logging functionality. The default logging configurations are copied in both repositories, but this allows to keep each independently configurable by changing handlers and levels on loggers inheriting from logging.getLogger(f'exa.{foo}') and logging.getLogger(f'exatomic.{bar}')
I also added a func_log method to the root namespace to offer similar logging behavior as with the established instance logging for when the functional approach is more appropriate. algorithms.orbital received a conversion to convert print statements to logging statements using this approach.
This is only the setup and a minimal working example. Much more work should be done for rich logging features but this lays the ground work.
Largely consistent with additions made in https://github.com/exa-analytics/exa/pull/162 , this merge request intends to introduce logging functionality. The default logging configurations are copied in both repositories, but this allows to keep each independently configurable by changing handlers and levels on loggers inheriting from
logging.getLogger(f'exa.{foo}')
andlogging.getLogger(f'exatomic.{bar}')
I also added a
func_log
method to the root namespace to offer similar logging behavior as with the established instance logging for when the functional approach is more appropriate.algorithms.orbital
received a conversion to convert print statements to logging statements using this approach.This is only the setup and a minimal working example. Much more work should be done for rich logging features but this lays the ground work.