0
Create Log4cpp Layout
Posted by Joys of Programming on in C/C++
Apart from the Simple and Basic Layout of log4cpp, you can create your own log pattern using the Pattern Layout. But you can add certain strings to the pattern. If you want to add additional functionality like displaying process ID, hostname using functions like getpid(), gethostbyname(), you need to create your own layout. You can [...]