我有我的应用程序的不同部分调用记录器功能来记录详细信息。 Logger类 std::string filename = "blahblah"; // variable to store the location of the properties file
log4cpp::PropertyConfigurator::configure(filename);
void Logger::log
我已经由log4cpp格式 写 - 截至log4cpp的性质一些日志文件,该文件是由日期时间在一开始整理每一行 假设的格式是一样 2012-09-02 17:17:36.891 This is line 1 in file 2
...
2013-08-05 14:17:35.344 This is line 607082 in file 2
2013-08-05 14:17:36.891 T