log4cpp使用
http://log4cpp.sourceforge.net/
編譯時候遇到:Naming collision for 'ERROR' detected. Please read the FAQ for a workaround
解決方法:在包含log4cpp頭文件之前增加宏定義 #define LOG4CPP_FIX_ERROR_COLLISION 1即可解決。
log4cpp使用
http://log4cpp.sourceforge.net/
編譯時候遇到:Naming collision for 'ERROR' detected. Please read the FAQ for a workaround
解決方法:在包含log4cpp頭文件之前增加宏定義 #define LOG4CPP_FIX_ERROR_COLLISION 1即可解決。