I have a class that registers from an anonymous method. I lowered it to emphasize ...
public class SocketFlusher { private static readonly ILog Log = LogManager.GetLogger(typeof(SocketFlusher)); public void Flush() { Wait.For(timeout, () => { ...
My log4net configuration is good (I checked the output of log4net debug="true" and the application works). My appender layout
<layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date [%-4thread] %-5level %class{1} - %message%newline"/> </layout>
But my log conclusion has this crazy auto-generated static class.
2011-03-21 18:10:20,053 [5 ] DEBUG SocketFlusher+<>c__DisplayClass1 - 82 bytes available
I want him to tell SocketFlusher what is the correct appender layout for getting this format?
source share