0

How to Compile and link log4cpp programs?

Posted by Joys of Programming on in C/C++

log4cpp, used for logging in C++ can be installed from packages or from the source code. But while programming with log4cpp, you must be aware of certain aspects like the location of the log4cpp headers and log4cpp library. The simplest way to find out the location of the headers The next important thing is to [...]

Tags: , , , ,

 
0

log4cpp::BasicLayout – Log Format with Additional Information

Posted by Joys of Programming on in C/C++

The Log4cpp SimpleLayout is the simplest log layout with the format “priority message”. But for regular usage, you need more information especially information like the timestamp. log4cpp::BasicLayout has the following Layout timeStamp priority category ndc: message where timestamp corresponds to the timestamp when the message was generated, priority corresponds to the type of the logging  [...]

Tags: , , , ,

Copyright © 2009-2012 Joys of Programming All rights reserved.
Desk Mess Mirrored v1.8.1 theme from BuyNowShop.com.