0
log4cpp::SimpleLayout – A Simple Layout for log4cpp logs
Posted by Joys of Programming on in C/C++
log4cpp supports three different Layouts, one of which is the SimpleLayout. log4cpp::SimpleLayout has the following format for every log message priority message where priority is one of the different values like DEBUG, WARN, NOTICE, INFO, CRIT, ERROR and the message is the same as the string which you want to print. Initializing a SimpleLayout is [...]