log4cpp: Logging Events and Priorities
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 [...]
log4cpp Category
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 [...]