C# Class syslog4net.Layout.SyslogLayout

Log4net layout class with default support for the Syslog message format as described in Syslog IETF 5424 standard: http://tools.ietf.org/html/rfc5424
Inheritance: log4net.Layout.LayoutSkeleton
Afficher le fichier Open project: Cayan-LLC/syslog4net Class Usage Examples

Méthodes publiques

Méthode Description
ActivateOptions ( ) : void

Activates the use of options for the converter allowing the underlying PatternLayout implmentation to behave correctly

Format ( TextWriter writer, log4net.Core.LoggingEvent logEvent ) : void

Formats data within the event and writes the formatted data out to the provided writer instance

SyslogLayout ( ) : System

Instantiates a new instance of SyslogLayout

Method Details

ActivateOptions() public méthode

Activates the use of options for the converter allowing the underlying PatternLayout implmentation to behave correctly
public ActivateOptions ( ) : void
Résultat void

Format() public méthode

Formats data within the event and writes the formatted data out to the provided writer instance
public Format ( TextWriter writer, log4net.Core.LoggingEvent logEvent ) : void
writer System.IO.TextWriter writer to output the formatted data to
logEvent log4net.Core.LoggingEvent logging event data to use
Résultat void

SyslogLayout() public méthode

Instantiates a new instance of SyslogLayout
public SyslogLayout ( ) : System
Résultat System