C# 클래스 Cedar.Framework.AuditTrail.Base.AuditLogListenerBase

This class is base class of all concrete audit log listener to listen the log writing request and write log entry.
파일 보기 프로젝트 열기: Chinaccn/surfboard

공개 메소드들

메소드 설명
AuditLogListenerBase ( string name, string filterName ) : Cedar.Core.IoC

Initializes a new instance of the T:Cedar.Framework.AuditTrail.Base.AuditLogListenerBase class.

Write ( AuditLogEntry logEntry ) : void

Writes the specified audit log entry.

보호된 메소드들

메소드 설명
GetAuditLogFormatter ( AuditLogEntryItem logEntryItem ) : IAuditLogFormatter

Gets the audit log formatter.

WriteCore ( AuditLogEntry logEntry ) : void

Writes the specified audit log entry.

메소드 상세

AuditLogListenerBase() 공개 메소드

Initializes a new instance of the T:Cedar.Framework.AuditTrail.Base.AuditLogListenerBase class.
public AuditLogListenerBase ( string name, string filterName ) : Cedar.Core.IoC
name string The listern name.
filterName string The configuration name of audit log filter.
리턴 Cedar.Core.IoC

GetAuditLogFormatter() 보호된 메소드

Gets the audit log formatter.
protected GetAuditLogFormatter ( AuditLogEntryItem logEntryItem ) : IAuditLogFormatter
logEntryItem AuditLogEntryItem The log entry item.
리턴 IAuditLogFormatter

Write() 공개 메소드

Writes the specified audit log entry.
public Write ( AuditLogEntry logEntry ) : void
logEntry AuditLogEntry The audit log entry.
리턴 void

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

Writes the specified audit log entry.
protected abstract WriteCore ( AuditLogEntry logEntry ) : void
logEntry AuditLogEntry The audit log entry.
리턴 void