private void Log(LogEventInfo logEvent) { var renderedMessage = Layout.Render(logEvent); var item = new LogEvent(logEvent, renderedMessage); Proxy.Log(item); }
protected override void Write(LogEventInfo logEvent) { var renderedMessage = this.Layout.Render(logEvent); var item = new LogEvent(logEvent, renderedMessage); Proxy.Log(item); }