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::Appender – Destination of Logs
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 [...]
The need for logging in Software development
Logging and Debugging are the important steps during programming. Though logging is important post-development, especially to find statistics. It can also be used to detect the reasons for a system or a software crash. But logging is not just useful post-development, but it can also be useful during development especially for debugging purposes. How do [...]