C# Class NLog.Targets.Syslog.SyslogTarget

Inheritance: TargetWithLayout
Afficher le fichier Open project: graffen/NLog.Targets.Syslog

Méthodes publiques

Méthode Description
SyslogTarget ( ) : System

Builds a new instance of the SyslogTarget class

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
InitializeTarget ( ) : void

Initializes the SyslogTarget

Write ( NLog.Common.AsyncLogEventInfo asyncLogEvent ) : void

Writes a single event

Write(LogEventInfo) is called only by Write(AsyncLogEventInfo/AsyncLogEventInfo[]): no need to override it

Private Methods

Méthode Description
DisposeDependencies ( ) : void

Method Details

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

InitializeTarget() protected méthode

Initializes the SyslogTarget
protected InitializeTarget ( ) : void
Résultat void

SyslogTarget() public méthode

Builds a new instance of the SyslogTarget class
public SyslogTarget ( ) : System
Résultat System

Write() protected méthode

Writes a single event
Write(LogEventInfo) is called only by Write(AsyncLogEventInfo/AsyncLogEventInfo[]): no need to override it
protected Write ( NLog.Common.AsyncLogEventInfo asyncLogEvent ) : void
asyncLogEvent NLog.Common.AsyncLogEventInfo The NLog.AsyncLogEventInfo
Résultat void