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.
Показать файл Открыть проект

Открытые методы

Метод Описание
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