我需要在log4cxx中寫一個自定義appender。 This answer描述瞭如何去做。在Java中,在log4j中,自定義appender可以設計自定義參數。我添加屬性和getter和setter: private int myParameter = 0;
public void setMyParameter(int p) { myParameter = p; }
public int
我試圖在Visual Studio 2013下構建log4cxx版本0.10.0。我已經完成了所有修補程序,如building log4cxx in vs 2010 c++中所述。 然而,它現在在鏈接階段,當試圖創建log4cxx.lib,失敗與以下錯誤: unresolved external symbol __InterlockedIncrement referenced in functio