0

log4cpp::Appender – Destination of Logs

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

As pointed out in log4cpp tutorial, one of the important things while initializing logging using log4cpp is to decide the destination of the log. It can be any file often known as log file or even across the network. An object of the class log4cpp::Appender must be initialized for this purpose as shown in the [...]

Tags: , , , , , , ,

 
17

A Simple log4cpp example

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

As pointed in the log4cpp tutorial, to program with log4cpp, you must be instantiate the following Appender: The destination of your log file Layout: The format of your log file Category: The type of logging like critical or debugging purposes The following simple program depicts this. Do not forget to change the value of LOGFILE. [...]

Tags: ,

 
0

Log4Cpp Tutorial

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

log4cpp is used for logging in C++. Given below is the log4cpp tutorial. The tutorial explains the various features of log4cpp with examples. log4cpp Tutorial Introduction to Logging log4cpp for logging in C++ Installation of log4cpp Install log4cpp from sources A sample Log4cpp Example Compile and link log4cpp programs Three Important Steps for Log4cpp programming [...]

Tags: , , , , ,

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