sys-bio / libOmexMeta

libOmexMeta is a library aimed at providing developer-level support for reading, writing, editing and managing semantic annotations for biosimulation models.
https://sys-bio.github.io/libOmexMeta/
Apache License 2.0
8 stars 6 forks source link

Provide ability to temporarily configure the logger #132

Open jonrkarr opened 3 years ago

jonrkarr commented 3 years ago

The current logging methods (set_formatter, set_level, file_logger) provide the ability to set logging globally. This creates the possiblity to two clients could configure the logger differently, causing problems for the other.

Two possible resolutions: