Style Intelligence v12.0

inetsoft.report
Interface ReportLog.Delegate

Enclosing class:
ReportLog

Deprecated. logging is now provided using the Apache Commons Logging library. Log delegation should be accomplished by using an appender implementation for the logging subsystem used in your deployment.

public static interface ReportLog.Delegate

Delegate defines the interface for a log delegate. A delegate provides a bridge between the default log and a user-defined log. All implementations must use a default constructor (no arguments) because instances of Delegate are created via reflection.


Method Summary
 void print(String msg, int level)
          Deprecated. Print a message to the log.
 void print(Throwable exc, int level)
          Deprecated. Print an error to the log.
 void setThreshold(int threshold)
          Deprecated. Set the priority threshold of the log.
 

Method Detail

print

void print(String msg,
           int level)
Deprecated. 
Print a message to the log.

Parameters:
msg - the message.
level - the priority level of the message. This must be one of the level constants defined in ReportLog.

print

void print(Throwable exc,
           int level)
Deprecated. 
Print an error to the log.

Parameters:
exc - the error.
level - the priority level of the error. This must be one of the level constants defined in ReportLog.

setThreshold

void setThreshold(int threshold)
Deprecated. 
Set the priority threshold of the log. Any messages or errors with a priority level below the threshold should not be printed.

Parameters:
threshold - the level of the priority threshold. The level may be one of ReportLog.TRACE, ReportLog.DEBUG, ReportLog.INFO, ReportLog.WARNING, or ReportLog.ERROR.

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