protected override void Append(LoggingEvent loggingEvent) { var formattedEvent = RenderLoggingEvent(loggingEvent); var logEntry = new LogEntry(formattedEvent, new JsonLoggingEventData(loggingEvent)); MessageLogged?.Invoke(logEntry); }
public void OnMessageLogged(LogEntry e) { Clients.All.onLoggedEvent(e.FormattedEvent, e.LoggingEvent); }