C# 클래스 log4net.Tests.Appender.CountingAppender

Implements an Appender for test purposes that counts the number of output calls to Append.
This appender is used in the unit tests.
상속: log4net.Appender.AppenderSkeleton
파일 보기 프로젝트 열기: aurora-sim/Aurora-Libs 1 사용 예제들

공개 메소드들

메소드 설명
CountingAppender ( ) : log4net.Appender

Initializes a new instance of the CountingAppender class.

ResetCounter ( ) : void

Reset the counter to zero

보호된 메소드들

메소드 설명
Append ( log4net.Core.LoggingEvent logEvent ) : void

Registers how many times the method has been called.

메소드 상세

Append() 보호된 메소드

Registers how many times the method has been called.
protected Append ( log4net.Core.LoggingEvent logEvent ) : void
logEvent log4net.Core.LoggingEvent The logging event.
리턴 void

CountingAppender() 공개 메소드

Initializes a new instance of the CountingAppender class.
public CountingAppender ( ) : log4net.Appender
리턴 log4net.Appender

ResetCounter() 공개 메소드

Reset the counter to zero
public ResetCounter ( ) : void
리턴 void