C++ logging library. It is extremely powerful, extendable, light-weight, fast performing, thread and type safe and consists of many built-in features. It provides ability to write logs in your own customized format. It also provide support for logging your classes, third-party libraries, STL and third-party containers etc.
MIT License
3.75k
stars
918
forks
source link
[Question] How exactly load several loggers from the one config? #838
In the readme, in one section you have an example of the config, and in the next one, how to load logger configuration, but how to load several configuration from one config into several loggers?
In the readme, in one section you have an example of the config, and in the next one, how to load logger configuration, but how to load several configuration from one config into several loggers?
example of my.conf:
main.cpp (doesn't work):
And how to use several loggers (ex. GLOBAL and OUTPUT from the config) alternately? other.cpp