public class DiagnosticEventAuditLogger extends java.lang.Object implements IAuditLogger
| Constructor and Description |
|---|
DiagnosticEventAuditLogger(java.util.Map<java.lang.String,java.lang.String> params) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled() |
void |
log(AuditLogEntry logMessage)
Logs AuditLogEntry.
|
void |
stop()
Stop and cleanup any resources of IAuditLogger implementations.
|
public DiagnosticEventAuditLogger(java.util.Map<java.lang.String,java.lang.String> params)
public void log(AuditLogEntry logMessage)
IAuditLoggerIAuditLogger.stop(),
hence implementations need to handle the race condition.log in interface IAuditLoggerpublic boolean isEnabled()
isEnabled in interface IAuditLoggerpublic void stop()
IAuditLoggerIAuditLogger.log(AuditLogEntry) might be called after being stopped.stop in interface IAuditLoggerCopyright © 2009-2020 The Apache Software Foundation