C# 클래스 Hawkeye.Logging.log4net.LogServiceAppender

상속: log4net.Appender.AppenderSkeleton, ILogLevelThresholdSelector
파일 보기 프로젝트 열기: odalet/Hawkeye2 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

LogServiceAppender ( ILogService logServiceToAppend ) : System

보호된 메소드들

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

Subclasses of T:log4net.Appender.AppenderSkeleton should implement this method to perform actual logging.

A subclass must implement this method to perform logging of the loggingEvent.

This method will be called by M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent) if all the conditions listed for that method are met.

To restrict the logging of events in the appender override the M:log4net.Appender.AppenderSkeleton.PreAppendCheck method.

OnClose ( ) : void

Is called when the appender is closed. Derived classes should override this method if resources need to be released.

Releases any resources allocated within the appender such as file handles, network connections, etc.

It is a programming error to append to a closed appender.

메소드 상세

Append() 보호된 메소드

Subclasses of T:log4net.Appender.AppenderSkeleton should implement this method to perform actual logging.

A subclass must implement this method to perform logging of the loggingEvent.

This method will be called by M:log4net.Appender.AppenderSkeleton.DoAppend(log4net.Core.LoggingEvent) if all the conditions listed for that method are met.

To restrict the logging of events in the appender override the M:log4net.Appender.AppenderSkeleton.PreAppendCheck method.

protected Append ( log4net.Core.LoggingEvent loggingEvent ) : void
loggingEvent log4net.Core.LoggingEvent The event to append.
리턴 void

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

LogServiceAppender() 공개 메소드

public LogServiceAppender ( ILogService logServiceToAppend ) : System
logServiceToAppend ILogService
리턴 System

OnClose() 보호된 메소드

Is called when the appender is closed. Derived classes should override this method if resources need to be released.

Releases any resources allocated within the appender such as file handles, network connections, etc.

It is a programming error to append to a closed appender.

protected OnClose ( ) : void
리턴 void