Provides logging methods for auditing processes.
Logs that auditing is disabled for a specific type.
public Void AuditDisableForType(logger, sourceTypeName)
Name | Type | Summary |
---|---|---|
logger | ILogger<IDataModelAuditor> | |
sourceTypeName | String |
Logs the internal data of an audit incident.
public Void AuditIncidentInternalData(logger, securityIncidentId, securityIncidentInfo)
Name | Type | Summary |
---|---|---|
logger | ILogger<IDataModelAuditor> | |
securityIncidentId | Int32 | |
securityIncidentInfo | AuditIncidentData |
Logs the internal data of an audit.
public Void AuditInternalData(logger, auditId, auditInfo)
Name | Type | Summary |
---|---|---|
logger | ILogger<IDataModelAuditor> | |
auditId | Int32 | |
auditInfo | AuditData |
Logs the start of the auditing process.
public Void EnterAfterDataAction(logger, model)
Name | Type | Summary |
---|---|---|
logger | ILogger<IDataModelAuditor> | |
model | IDataModel |
Logs the start of the auditing process.
public Void EnterBeforeDataAction(logger, model)
Name | Type | Summary |
---|---|---|
logger | ILogger<IDataModelAuditor> | |
model | IDataModel |
Logs an error while reading audit internal data.
public Void ErrorReadingAuditData(logger, auditId, ex)
Name | Type | Summary |
---|---|---|
logger | ILogger<IDataModelAuditor> | |
auditId | Nullable<Int32> | |
ex | Exception |
Logs the end of the auditing process.
public Void ExitingAfterDataAction(logger, stopwatch)
Name | Type | Summary |
---|---|---|
logger | ILogger<IDataModelAuditor> | |
stopwatch | Stopwatch |
Logs the end of the auditing process.
public Void ExitingBeforeDataAction(logger, stopwatch)
Name | Type | Summary |
---|---|---|
logger | ILogger<IDataModelAuditor> | |
stopwatch | Stopwatch |