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 IAuditLogger
public void log(AuditLogEntry auditLogEntry)
IAuditLogger
IAuditLogger.stop()
,
hence implementations need to handle the race condition.log
in interface IAuditLogger
public void stop()
IAuditLogger
IAuditLogger.log(AuditLogEntry)
might be called after being stopped.stop
in interface IAuditLogger
Copyright © 2009- The Apache Software Foundation