
Anyone, can answer that?
On Thu, Jul 4, 2013 at 4:51 PM, Ovanes Markarian
Hi *,
Thanks for the really great logging library. Just used it a bit and was amazed how useful and easy to use it was. As I start using it more and more I have some questions...
1. In my application I would like to start with the trivial logger and extend this logger with more options, i.e. attributes etc. Currently I see the following input when doing a trace:
[2013-07-03 22:17:32.462265] [0x76f73180] [trace] thread_pool: creating 1 threads[2013-07-03 22:17:32.462303] [0x76f73180] [trace] thread_pool: created thread number: 1[2013-07-03 22:17:32.462312] [0x76f73180] [trace] thread_pool: all threads started[2013-07-03 22:17:32.462320] [0x76f73180] [trace] thread_pool: constructor finished
My question is what is the second attribute? Thread id? As my code runs on a 64bit machine, that does not seem to be an address...
2. Is it possible to use a scoped logging with the trivial logger? I tried to do it as described in the example but see not output. How can I produce the output from the scoped logger? 3. In my example I wrote thread_pool prefix before each log entry. Can I do it automatically? How would I go on if I only have trivial logging?
May be I misunderstand some concepts, like how to use multiple loggers and connect them with each other? Any help is very appreciated.
Thanks, Ovanes