inetsoft.sree
Class AuditLog
java.lang.Object
inetsoft.sree.AuditLog
public class AuditLog
- extends Object
Used to log usage activities. It writes all messages to the file specified
by the "audit.log.file" property. If the "audit.delegate.class" property
is specified, the delegate class will be used to handle writing the audit
log messages, and the audit log file will be ignored. The delegate class
should implement the AuditLog.Delegate interface.
|
Nested Class Summary |
static interface |
AuditLog.Delegate
This interface defines the API for the log delegate. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuditLog
public AuditLog()
print
public static void print(String str)
- Write a line to the log.
- Parameters:
str - string message
print
public static void print(String user,
String path,
String event)
- Write an event to the log.
- Parameters:
user - the user namepath - the report being accessedevent - the event being logged
dispose
public static void dispose()