OcelotProject / Ocelot

Ocelot is open-source linking for life cycle assessment. See https://ocelot.space/ for more information.
Other
25 stars 7 forks source link

Logging should be on a custom level to not clobber other logging handlers #103

Closed cmutel closed 7 years ago

cmutel commented 7 years ago

If Ocelot is imported by another software package, the existing logging will require log messages to be dictionaries. This will conflict with other logging standards. If we define our own custom level, and only listen to this level, then we can avoid conflicts.