C# 클래스 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
상속: log4net.Layout.LayoutSkeleton
파일 보기 프로젝트 열기: Cayan-LLC/syslog4net 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

ActivateOptions() 공개 메소드

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

Format() 공개 메소드

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
리턴 void

SyslogLayout() 공개 메소드

Instantiates a new instance of SyslogLayout
public SyslogLayout ( ) : System
리턴 System