public interface AuditLogger
| Modifier and Type | Method and Description | 
|---|---|
| void | logFailed(Object command,
         Throwable failureCause,
         List<EventMessage> events)Writes a failure entry to the audit logs. | 
| void | logSuccessful(Object command,
             Object returnValue,
             List<EventMessage> events)Writes a success entry to the audit logs. | 
void logSuccessful(Object command, Object returnValue, List<EventMessage> events)
command - The command that has been handledreturnValue - The return value of the command handlerevents - The events that were generated during command handlingvoid logFailed(Object command, Throwable failureCause, List<EventMessage> events)
command - The command being executedfailureCause - The cause of the rollback. May be null if the rollback was not caused by an
                     exceptionevents - any events staged for storage or publishingCopyright © 2010-2014. All Rights Reserved.