Ejemplo n.º 1
0
        protected void InitializeTarget()
        {
            //base.InitializeTarget();

            SetPublisher();

            PublishToSignalR.Connect(new DefaultHttpClient());
        }
Ejemplo n.º 2
0
        protected override void Append(LoggingEvent loggingEvent)
        {
            string asyncBody = RenderLoggingEvent(loggingEvent);

            PublishToSignalR.WriteToQueue(GetFromLogLevel(loggingEvent.Level), asyncBody);
        }