C# Class NLog.Targets.Syslog.AsyncLogger

Show file Open project: graffen/NLog.Targets.Syslog

Public Methods

Method Description
AsyncLogger ( Layout loggingLayout, EnforcementConfig enforcementConfig, MessageBuilder messageBuilder, MessageTransmitterConfig messageTransmitterConfig ) : System.Collections.Concurrent
Dispose ( ) : void
Log ( NLog.Common.AsyncLogEventInfo asyncLogEvent ) : void

Private Methods

Method Description
Enqueue ( NLog.Common.AsyncLogEventInfo asyncLogEventInfo, int delay ) : void
NewBlockingCollection ( ) : BlockingCollection
ProcessQueueAsync ( MessageBuilder messageBuilder ) : void

Method Details

AsyncLogger() public method

public AsyncLogger ( Layout loggingLayout, EnforcementConfig enforcementConfig, MessageBuilder messageBuilder, MessageTransmitterConfig messageTransmitterConfig ) : System.Collections.Concurrent
loggingLayout NLog.Layouts.Layout
enforcementConfig NLog.Targets.Syslog.Settings.EnforcementConfig
messageBuilder NLog.Targets.Syslog.MessageCreation.MessageBuilder
messageTransmitterConfig NLog.Targets.Syslog.Settings.MessageTransmitterConfig
return System.Collections.Concurrent

Dispose() public method

public Dispose ( ) : void
return void

Log() public method

public Log ( NLog.Common.AsyncLogEventInfo asyncLogEvent ) : void
asyncLogEvent NLog.Common.AsyncLogEventInfo
return void