serokell / log-warper

Logging library to provide more convenient, extremely configurable but simple monadic interface with pretty output
MIT License
19 stars 11 forks source link

Change YAML config format for logger names #32

Closed chshersh closed 6 years ago

chshersh commented 6 years ago

Currently you need to specify root logger at top level. This brings some amount of complexity to parsing .yaml config because you need to NOT FORGET to update non-logger names:

https://github.com/serokell/log-warper/blob/b219e7bd5e65b080ed59b44452c845d449200b69/src/System/Wlog/LoggerConfig.hs#L134

So logger tree should be moved into separate tree.