Hi *,<div><br></div><div>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...</div><div><br></div><div>

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:</div><div><pre class="lang-cpp prettyprint prettyprinted" style="margin-top:0px;margin-bottom:10px;padding:5px;border:0px;font-size:14px;vertical-align:baseline;background-color:rgb(238,238,238);font-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier New&#39;,monospace,serif;overflow:auto;width:auto;max-height:600px;line-height:18px">

<code style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier New&#39;,monospace,serif"><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial"><span style="font-size:14px;line-height:18px">[</span>2013</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">-</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">07</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">-</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">03</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent"> </span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">22</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">:</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">17</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">:</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">32.462265</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">]</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent"> </span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">[</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">0x76f73180</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">]</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent"> </span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">[</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">trace</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">]</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">   thread_pool</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">:</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent"> creating </span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">1</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent"> threads
</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">[</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">2013</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">-</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">07</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">-</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">03</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent"> </span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">22</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">:</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">17</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">:</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">32.462303</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">]</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent"> </span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">[</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">0x76f73180</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">]</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent"> </span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">[</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">trace</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">]</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">   thread_pool</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">:</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent"> created thread number</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">:</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent"> </span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">1</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">
</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">[</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">2013</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">-</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">07</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">-</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">03</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent"> </span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">22</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">:</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">17</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">:</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">32.462312</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">]</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent"> </span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">[</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">0x76f73180</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">]</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent"> </span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">[</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">trace</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">]</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">   thread_pool</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">:</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent"> all threads started
</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">[</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">2013</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">-</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">07</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">-</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">03</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent"> </span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">22</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">:</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">17</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">:</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">32.462320</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">]</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent"> </span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">[</span><span class="lit" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent;color:rgb(128,0,0);background-repeat:initial initial">0x76f73180</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">]</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent"> </span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">[</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">trace</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">]</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">   thread_pool</span><span class="pun" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">:</span><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent"> constructor finished
</span></code></pre></div><div><code style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier New&#39;,monospace,serif"><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent">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...</span></code></div>

<div><code style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier New&#39;,monospace,serif"><span class="pln" style="margin:0px;padding:0px;border:0px;font-size:14px;vertical-align:baseline;background-color:transparent"><br>

</span></code></div><div>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?</div><div>
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?</div>
<div><br></div><div>May be I misunderstand some concepts, like how to use multiple loggers and connect them with each other? Any help is very appreciated.</div><div><br></div><div><br></div><div>Thanks,</div><div>Ovanes</div>