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, waitpathpublic boolean enabled()
enabled 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-2019 The Apache Software Foundation