Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.2.12
-
None
-
None
Description
My C# project uses the DebugAppender in addition to other appenders. My intent was to only have logs written to the DebugAppender when the DEBUG preprocessor symbol is defined. However, to my surprise, the DebugAppender still writes the Debug output even if DEBUG symbol isn't defined.
I would think that the DebugAppender should follow the same rules as and the System.Diagnostics.Debug.Writexxxx methods in that the [System.Diagnostics.Conditional("DEBUG")] attribute would be incorporated.