Reputation:
I'm trying to use boost log library in my application but i have problem.
How to configure boost log to have 3 loggers which log to different files. example:
I want also use logging on different levels(info, warn, debug, error).
Example:
BOOST_LOG_SEV(main_logger, logging::trivial::debug)
How to configure this?
Upvotes: 3
Views: 4412
Reputation: 451
You can use multi-file backend: Boost.Log multi-file backend.
Upvotes: 3