log4cpp for logging in C++

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

log4cpp is used for logging purposes in C++. If log4j is one of the important package for logging in Java, log4cpp can be considered as an equal competitor for logging in C++. In fact, log4cpp is a port of log4j. Logging is very important in software development.

With log4cpp, you can easily perform the following tasks. It can be used to print

  1. Debug statements
  2. Trace statements to know the flow of the program
  3. Warnings and Errors
  4. To notify users for the critical errors

Log4cpp makes the task of logging easier. User need not worry about the layout of the log file and can use the default logging format. The programmer can direct the errors to standard output or a file. Programming with log4cpp is an easy task.

Tags: , , , , ,

Comments:

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

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