User Activity

  • Posted a comment on discussion Open Discussion on Boost.Log

    I'm not sure if you meant to say to create separate loggers for each object. If so, then I tried that. But if you really meant create a new logger in each of class's methods, I suppose I can give it a try. Just wondering if this will become resource intensive to create a logger in each method of derived class. I'll let you know if it works, thanks!

  • Posted a comment on discussion Open Discussion on Boost.Log

    Hi Andrey, I'm implementing a logger in parent class and child classes and would like to utilize some kind of tag or attribute that prints "calling object's" class name. Here is an example: class some_parent { some_parent() { init_with_class_tag ("parent_class"); func_1() { LOG_INFO ("function 1 logging something"); func_2() { LOG_WARN ("function 2 logging something"); }; class some_child : public some_parent { some_child() { init_with_class_tag ("child_class"); func_3() { LOG_ERROR ("function 3...

  • Posted a comment on discussion Open Discussion on Boost.Log

    Fantastic! It worked, I'm able to read from settings file and still use asynchrounous sink, autoflush and appends to log existing log on restart. I used my own defined sink. Thank you very much my friend.... PS: I apologize for the hijack

  • Modified a comment on discussion Open Discussion on Boost.Log

    Andrey can you please tell me if this is currently available, maybe you can direct me. I'm using boost 1.59 in Linux environment. I have searched though many threads for long time now with no luck. Basically my project requires following: asynchronous logging set date time stamp from configuration file set severity filter for sinks or core from configuration file set_open_mode to append (log file rotation is not important right now) auto_flush from configuration file Current implementation set date...

  • Posted a comment on discussion Open Discussion on Boost.Log

    Andrey can you please tell me if this is currently available, maybe you can direct me. I'm using boost 1.59 in Linux environment. I have searched though many threads for long time now with no luck. Basically my project requires following: asynchronous logging set date time stamp from configuration file set severity filter for sinks or core from configuration file set_open_mode to append (log file rotation is not important right now) auto_flush from configuration file Current implementation set date...

View All

Personal Data

Username:
mzazi
Joined:
2017-08-17 15:39:20

Projects

  • No projects to display.

Personal Tools