Package com.illumon.util.audit
Interface AuditEventLogger
- All Known Subinterfaces:
AuditEventLogFormat1Interface
- All Known Implementing Classes:
AuditEventLogFormat2Logger
,AuditEventLogger.Null
public interface AuditEventLogger
An interface for logging
AuditEvent
s.
This interface is a simplification of AuditEventLogFormat1Interface (which is strongly coupled to the DB module). This allows us to log audit events from contexts which don't depend on the DB.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AuditEventLogger.Null
An implementation ofAuditEventLogger
that does nothing. -
Method Summary
Modifier and Type Method Description void
event(AuditEvent event)
Log the givenAuditEvent
.default void
event(AuditEventBuilder eventBuilder)
Equivalent toevent(eventBuilder.build())
.
-
Method Details
-
event
Equivalent toevent(eventBuilder.build())
.This method would be better named "log", but IntradayLoggerFactory gets confused.
-
event
Log the givenAuditEvent
.
-