Activity for mzazi

  • mzazi mzazi posted a comment on discussion Open Discussion

    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!

  • mzazi mzazi posted a comment on discussion Open Discussion

    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...

  • mzazi mzazi posted a comment on discussion Open Discussion

    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

  • mzazi mzazi modified a comment on discussion Open Discussion

    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...

  • mzazi mzazi posted a comment on discussion Open Discussion

    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...

1