| java.lang.Object com.rift.coad.lib.audit.AuditTrail
AuditTrail | public class AuditTrail (Code) | | This object is responsible for processing the audit trail requests.
author: brett chaldecott |
getAudit | public static AuditTrail getAudit(Class target)(Code) | | This method constructs a new audit trail entry.
The reference to the new audit trail. Parameters: target - The target of the audit trail. |
logEvent | public void logEvent(String method)(Code) | | This method logs a succesfull audit trail entry.
Parameters: method - The name of the method to log the event for. |
logEvent | public void logEvent(String method, Throwable ex)(Code) | | This method logs an un-succesfull audit trail entry.
Parameters: method - The name of the method to log the event for. Parameters: ex - The exception that cause the error on the event. |
|
|