Interface AuditEventLogger
- All Known Subinterfaces:
AuditEventLogFormat1Interface
- All Known Implementing Classes:
AuditEventLogFormat3Logger,AuditEventLogger.Null
public interface AuditEventLogger
An interface for logging
AuditEvents.
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 ClassesModifier and TypeInterfaceDescriptionstatic enumAn implementation ofAuditEventLoggerthat does nothing. -
Method Summary
Modifier and TypeMethodDescriptionvoidevent(AuditEvent event) Log the givenAuditEvent.default voidevent(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.
-