0

Create your own Log format with log4cpp::PatternLayout

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

log4cpp::PatternLayout supports four different patterns of log format. But it also supports user specified format. For this purpose, it gives certain format chracters. Some of them are %d: Date %m: log message %n: line separator %p: priority For more such characters refer PatternLayout. The additional benefit of using a format of your own is that [...]

Tags: , , , , , , ,

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