Confbase / cfg

A tool to manage configuration files and use them in production.
https://confbase.com/cfg
Apache License 2.0
7 stars 6 forks source link

Create logging system #74

Open Drake-Eidukas opened 5 years ago

Drake-Eidukas commented 5 years ago

It would be pretty nice if we could make an abstraction on top of our current printouts that provides helpers such as logging levels (info, debug, warning, error, critical) such that you can use flags to customize the output of cfg. For example, setting verbosity (i.e. only show error logs), setting log sinks, and turning off colors. This way, we can have a simple and centralized way of aggregating user preferences via either the base's config, or allowing overrides per-command via flags.