Style Intelligence v12.0

inetsoft.sree
Class AuditLog

java.lang.Object
  extended by 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.
 
Constructor Summary
AuditLog()
           
 
Method Summary
static void dispose()
           
static void print(String str)
          Write a line to the log.
static void print(String user, String path, String event)
          Write an event to the log.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuditLog

public AuditLog()
Method Detail

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 name
path - the report being accessed
event - the event being logged

dispose

public static void dispose()

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.