C# Class 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.
Afficher le fichier Open project: Chinaccn/surfboard

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
GetAuditLogFormatter ( AuditLogEntryItem logEntryItem ) : IAuditLogFormatter

Gets the audit log formatter.

WriteCore ( AuditLogEntry logEntry ) : void

Writes the specified audit log entry.

Method Details

AuditLogListenerBase() public méthode

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.
Résultat Cedar.Core.IoC

GetAuditLogFormatter() protected méthode

Gets the audit log formatter.
protected GetAuditLogFormatter ( AuditLogEntryItem logEntryItem ) : IAuditLogFormatter
logEntryItem AuditLogEntryItem The log entry item.
Résultat IAuditLogFormatter

Write() public méthode

Writes the specified audit log entry.
public Write ( AuditLogEntry logEntry ) : void
logEntry AuditLogEntry The audit log entry.
Résultat void

WriteCore() protected abstract méthode

Writes the specified audit log entry.
protected abstract WriteCore ( AuditLogEntry logEntry ) : void
logEntry AuditLogEntry The audit log entry.
Résultat void