Log: Overwrite format of sink
14 Aug
2015
14 Aug
'15
11:47 a.m.
Hello, I have a console sink: boost::log::add_console_log(std::cout, keywords::format = fmtStream); with fmtStream being an expressions stream. After setting up the sinks I load a configuration file: std::ifstream file("log.settings"); init_from_stream(file); Is there a way to overwrite the format of this sink from within in the configuration file. Or, alternatively disable this sink. What I want to achieve is that a user have the option to modify the format without having two console outputs... Thanks, Florian
3376
Age (days ago)
3376
Last active (days ago)
0 comments
1 participants
participants (1)
-
Florian Lindner