C# 클래스 AWSAppender.Core.PatternConverter.NamedPatternConverter

상속: log4net.Layout.Pattern.PatternLayoutConverter, IOptionHandler
파일 보기 프로젝트 열기: camitz/CloudWatchAppender

보호된 프로퍼티들

프로퍼티 타입 설명
m_precision int

공개 메소드들

메소드 설명
ActivateOptions ( ) : void

Initialize the converter

This is part of the T:log4net.Core.IOptionHandler delayed object activation scheme. The M:log4net.Layout.Pattern.NamedPatternConverter.ActivateOptions method must be called on this object after the configuration properties have been set. Until M:log4net.Layout.Pattern.NamedPatternConverter.ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then M:log4net.Layout.Pattern.NamedPatternConverter.ActivateOptions must be called again.

보호된 메소드들

메소드 설명
Convert ( TextWriter writer, log4net.Core.LoggingEvent loggingEvent ) : void

Convert the pattern to the rendered message

Render the M:log4net.Layout.Pattern.NamedPatternConverter.GetFullyQualifiedName(log4net.Core.LoggingEvent) to the precision specified by the P:log4net.Util.PatternConverter.Option property.

GetFullyQualifiedName ( log4net.Core.LoggingEvent loggingEvent ) : string

Get the fully qualified string data

Overridden by subclasses to get the fully qualified name before the precision is applied to it.

Return the fully qualified '.' (dot/period) separated string.

메소드 상세

ActivateOptions() 공개 메소드

Initialize the converter

This is part of the T:log4net.Core.IOptionHandler delayed object activation scheme. The M:log4net.Layout.Pattern.NamedPatternConverter.ActivateOptions method must be called on this object after the configuration properties have been set. Until M:log4net.Layout.Pattern.NamedPatternConverter.ActivateOptions is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then M:log4net.Layout.Pattern.NamedPatternConverter.ActivateOptions must be called again.

public ActivateOptions ( ) : void
리턴 void

Convert() 보호된 메소드

Convert the pattern to the rendered message
Render the M:log4net.Layout.Pattern.NamedPatternConverter.GetFullyQualifiedName(log4net.Core.LoggingEvent) to the precision specified by the P:log4net.Util.PatternConverter.Option property.
protected Convert ( TextWriter writer, log4net.Core.LoggingEvent loggingEvent ) : void
writer System.IO.TextWriter that will receive the formatted result.
loggingEvent log4net.Core.LoggingEvent the event being logged
리턴 void

GetFullyQualifiedName() 보호된 추상적인 메소드

Get the fully qualified string data

Overridden by subclasses to get the fully qualified name before the precision is applied to it.

Return the fully qualified '.' (dot/period) separated string.

protected abstract GetFullyQualifiedName ( log4net.Core.LoggingEvent loggingEvent ) : string
loggingEvent log4net.Core.LoggingEvent the event being logged
리턴 string

프로퍼티 상세

m_precision 보호되어 있는 프로퍼티

protected int m_precision
리턴 int