
Andreas Wachowski wrote:
Hello John, Hi all,
This is very good news indeed! In fact, I had integrated the Boost logging last Tuesday in our app, currently employing a workaround for levels (just writing levels as subcategories in brackets, like so: "category.subcategory.[level]"). I am eager to try out the new version.
Having just looked at the doc and a little bit at the source code, I couldn't find a way to append (or prepend) the level to the log message. In this regard, one might also want to associate identifying strings with a level (analogous to how this can be done with BOOST_DEFINE_LOG).
I haven't allowed for that yet. It's an interesting idea, and it's not too much development effort. So I guess I'll do it.
Overall, the handling of levels seems intuitive and easy to use.
Thanks! Best, John -- John Torjo, Contributing editor, C/C++ Users Journal -- "Win32 GUI Generics" -- generics & GUI do mix, after all -- http://www.torjo.com/win32gui/ -v1.6.3 (Resource Splitter) -- http://www.torjo.com/cb/ - Click, Build, Run!