0

log4cpp: Logging Events and Priorities

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

The most important aspect of a log message is its priority. Take a simple scenario, when you are debugging your program, you want to display all the logs in your program. At that moment, you are not concerned about the resource crunch and performance impact. But when your program is running, you do not want [...]

Tags: , , , , , , , , ,

 
0

log4cpp Category

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

Every log message has a priority. But depending on the scenario we decide whether we need to log a message or not. Like every message has a priority, similarly every scenario has a priority. We have the following priorities arranged in the descending order. EMERG, FATAL ALERT CRIT ERROR WARN NOTICE INFO DEBUG NOTSET (no [...]

Tags: , , , , , , , ,

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