stcarrez / ada-util

Ada Utility Library - Composing streams, processes, logs, serialization, encoders and more
Apache License 2.0
69 stars 14 forks source link

Logger: add a way to filter logs #34

Closed Heziode closed 1 year ago

Heziode commented 1 year ago

I do not find a way to filter result of logs.

For example, I want a file foo.adb to be in INFO or completely disable it, and a file bar.adb with a DEBUG severity.

Currently, all units are in DEBUG verbosity, and it is quite difficult to debug with the amount of log.

Heziode commented 1 year ago

Found my answer here: https://ada-util.readthedocs.io/en/latest/Util_Log/#log-configuration