LoggableEvent¶
-
public class
LoggableEvent
¶ Class containing event data. The field eventSubjects contains names of subjects for events that should be logged by
org.motechproject.eventlogging.loggers.EventLogger
and flags are used to filter those events.
Constructors¶
Methods¶
isLoggableEvent¶
-
public boolean
isLoggableEvent
(MotechEvent eventToLog)¶ Checks if the event should be logged by
org.motechproject.eventlogging.loggers.EventLogger
.Parameters: - eventToLog – incoming motech event to check if should be logged
Returns: true if event should be logged or false if it should not