boost-logging Questions
4
Solved
I'm using Boost(1.55.0) Logging in my C++ application.
I have been able to generate log of this format
[2014-Jul-15 10:47:26.137959]: <debug> A regular message
I want to be able to add s...
Incorporating asked 15/7, 2014 at 5:9
1
Solved
I need a global logger that I can use across multiple classes in my project. I want to have logger settings in an ini file.
I start following example here and combined it with some suggestions at ...
Moro asked 4/9, 2018 at 18:56
1
Solved
I am using the example at the following link.
https://www.boost.org/doc/libs/1_57_0/libs/log/doc/html/log/detailed/utilities.html#log.detailed.utilities.setup.settings_file
My code is as follows....
Velarde asked 31/8, 2018 at 21:55
2
Solved
I'm trying to add colored log output for boost::log under linux. I read the following and I tried this:
#define MY_LOG_ERROR() BOOST_LOG_TRIVIAL(error) << "\033[1;31"
MY_LOG_ERROR() <<...
Bremble asked 11/7, 2016 at 14:27
1
Solved
I use the add_file_log() function to initialize a logging sink that stores log records into a text file. When I define several sinks, I have observed:
a file is created for each sink.
the output ...
Vilma asked 31/8, 2016 at 10:59
1
Solved
I'm using custom boost::log formatter for color coding the output log message, but I'm failing to find the proper way to add TimeStamp and ThreadID attributes to the log. When I'm using file loggin...
Belch asked 27/7, 2016 at 16:4
1
Solved
I'm learning Boost. Following a tutorial, I try to set a filter on a sink by sending a reference to the method onlyWarnings.
Brief:
sink->set_filter(&onlyWarnings);
In onlyWarnings:
set...
Silverfish asked 17/4, 2015 at 18:38
1
I am trying to create a Global Logger within my entire application so I can use
src::severity_logger_mt< >& lg = my_logger::get();
to get the global logger for different classes (resid...
Tuberose asked 20/11, 2013 at 3:27
1
Suppose I have a simple boost.log severity_logger logger set up like this:
logging::core::get()->set_filter(logging::trivial::severity >= logging::trivial::debug);
logging::add_common_attr...
Votary asked 29/1, 2014 at 7:17
2
Solved
I'm playing with Boost.Log in boost 1.54.0 to see if it is a viable option for my application. In general, I don't have a problem with the buffering, so I'm not looking to turn on auto_flush or any...
Persona asked 26/7, 2013 at 18:32
1
Solved
So I want to use Boost.Log for all my logging purposes. I currently wrote a class that encompasses all the required operations of instantiating and setting up helper methods.
Problem is that I wa...
Morissa asked 24/6, 2013 at 6:47
1
Solved
I am currently evaluating some log frameworks for unmanaged C++.
My question is: what is the difference between Boost.Log and Boost.Log v2?
Is the Api is different?
Is it safe to use Boost.Log v2...
Freshen asked 15/2, 2012 at 15:2
1
© 2022 - 2024 — McMap. All rights reserved.