protected void InitializeTarget() { //base.InitializeTarget(); SetPublisher(); PublishToSignalR.Connect(new DefaultHttpClient()); }
protected override void Append(LoggingEvent loggingEvent) { string asyncBody = RenderLoggingEvent(loggingEvent); PublishToSignalR.WriteToQueue(GetFromLogLevel(loggingEvent.Level), asyncBody); }