[Cppcms-users] booster::log
Brought to you by:
artyom-beilis
From: Marcel H. <ke...@co...> - 2012-03-15 10:29:43
|
hi everyone, I'm searching for a good logger tool for c++ and found (oh what a wonder) booster::log. It's simple and powerfull. Nice to handle and everything. I found boost.log too but can't install it, because I don't know how :D (funny, isn't it?) So two major questions. Would it be possible to add two things?! - add a constructor for sinks::file which takes the file name as a parameter and optionally the max files? It would be easier to construct this, because you don't have to create a pointer (or whatever) first and then hand it over to the logger - add a constructor to sinks::standard_error which takes a ostream as parameter. Maybe you define an other class that does this. and two other questions: - what is the const char *module in should_be_logged, set_log_level and so on? It's a "string", of course, but where do I get the string for my sink?! - Is it true, that I can only use booster without cppcms and that it's licended under the boost license? Regards, Marcel Hellwig |