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