我有我的應用程序的不同部分調用記錄器功能來記錄詳細信息。 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