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() |
Modifier and Type | Method and Description |
---|---|
boolean |
enabled() |
void |
log(AuditLogEntry auditLogEntry)
Logs AuditLogEntry.
|
void |
stop()
Stop and cleanup any resources of IAuditLogger implementations.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
path
public boolean enabled()
enabled
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-2019 The Apache Software Foundation