attestantio / dirk

Apache License 2.0
81 stars 23 forks source link

Use hierarchical log levels in configuration. #17

Closed mcdee closed 3 years ago

mcdee commented 3 years ago

This uses log levels of the form .log-level, with hierarchical configuration to make it easy to have local overrides from the global setting.

It uses the standard util.LogLevel call to achieve this, removing some old code and cleaning up the initialisation code.