public override void Write(LoggerEvent loggerEvent)
        {
            UpdateColors(loggerEvent.Level);

            pattern.WriteBody(console.Out, loggerEvent);
            console.ResetColor();
        }
예제 #2
0
 public override void Render(LoggerEvent loggerEvent)
 {
     parsedLayout.WriteBody(SafeWriter(), loggerEvent);
 }