C# 클래스 Cedar.Framework.AuditTrail.AuditLogger

This class is used to write audit log entry.
상속: IDisposable
파일 보기 프로젝트 열기: Chinaccn/surfboard

공개 메소드들

메소드 설명
CreateAuditLogger ( string functionName ) : AuditLogger

Create T:Cedar.Framework.AuditTrail.AuditLogger based on the specified function name.

Dispose ( ) : void

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

Flush ( ) : void

Drive the audit log listeners to write the stored audit log entry.

GetLogDetail ( string tableName, string logId ) : List

Gets the log detail.

Write ( object logData, OperationType operationType, string customOperationName = null ) : void

Writes the specified log data.

Write ( string action, string actionDescription, string inputsParams, dynamic actionRemarks ) : void

비공개 메소드들

메소드 설명
AuditLogger ( AuditLogEntry logEntry ) : System
EnsureNotDisposed ( ) : void

메소드 상세

CreateAuditLogger() 공개 정적인 메소드

Create T:Cedar.Framework.AuditTrail.AuditLogger based on the specified function name.
public static CreateAuditLogger ( string functionName ) : AuditLogger
functionName string Name of the function.
리턴 AuditLogger

Dispose() 공개 메소드

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

Flush() 공개 메소드

Drive the audit log listeners to write the stored audit log entry.
public Flush ( ) : void
리턴 void

GetLogDetail() 공개 정적인 메소드

Gets the log detail.
public static GetLogDetail ( string tableName, string logId ) : List
tableName string Name of the table.
logId string The log ID.
리턴 List

Write() 공개 메소드

Writes the specified log data.
public Write ( object logData, OperationType operationType, string customOperationName = null ) : void
logData object The log data.
operationType OperationType Type of the operation.
customOperationName string Name of the custom operation.
리턴 void

Write() 공개 메소드

public Write ( string action, string actionDescription, string inputsParams, dynamic actionRemarks ) : void
action string
actionDescription string
inputsParams string
actionRemarks dynamic
리턴 void