|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.ReportLog
public class ReportLog
Log used by the reporting engine.
java.util.logging| Nested Class Summary | |
|---|---|
static interface |
ReportLog.Delegate
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. |
| Field Summary | |
|---|---|
static int |
DEBUG
Deprecated. DEBUG is a log level that provides tracing information for debugging. |
static int |
ERROR
Deprecated. ERROR is a log level that indicates a serious failure. |
static int |
INFO
Deprecated. INFO is a log level for informational messages. |
protected static Logger |
LOG
Deprecated. The Java Logger to which all logging calls are delegated. |
protected static Logger |
ROOT_LOG
Deprecated. The root Java Logger for the InetSoft API. |
static int |
TRACE
Deprecated. TRACE is a log level that provides highly detailed tracing information. |
static int |
WARNING
Deprecated. WARNING is a log level that indicates a potential problem. |
| Constructor Summary | |
|---|---|
protected |
ReportLog()
Deprecated. Create a new instance of ReportLog. |
| Method Summary | |
|---|---|
static void |
debug(String msg,
String aspect)
Deprecated. logging is now provided using the Java logging facilities. |
static void |
debug(Throwable ex,
String aspect)
Deprecated. logging is now provided using the Java logging facilities. |
protected void |
disposeLog()
Deprecated. Closes and removes all handlers that have been added for this log. |
protected static ReportLog |
getLog()
Deprecated. logging is now provided using the Java logging facilities. |
static boolean |
isDebugging(String aspect)
Deprecated. logging is now provided using the Java logging facilities. |
static void |
print(String msg)
Deprecated. use print(String msg, int level) instead. |
static void |
print(String msg,
int level)
Deprecated. logging is now provided using the Java logging facilities. |
static void |
print(String task,
long start)
Deprecated. Use print(java.lang.String, int) instead. |
static void |
print(String task,
long start,
int level)
Deprecated. logging is now provided using the Java logging facilities. |
static void |
print(Throwable exc)
Deprecated. Use print(java.lang.Throwable, int) instead. |
static void |
print(Throwable exc,
int level)
Deprecated. logging is now provided using the Java logging facilities. |
protected void |
printError(Throwable exc,
int level)
Deprecated. Print an error to this log. |
protected void |
printMessage(String msg,
int level)
Deprecated. Print a message to this log. |
static void |
setDelegate(ReportLog.Delegate delegate)
Deprecated. logging is now provided using the Java logging facilities. Log delegation should now be achived by implementing a Handler and adding it to the
"inetsoft" logger. Note that any handlers added to this
logger must use a HandlerFilter. |
static void |
setFormat(String format)
Deprecated. logging is now provided using the Java logging facilities. Message formatting should be accomplished by setting the Formatter on a specific handler,
or by creating a "logging.properties" file in your
configuration directory. |
protected static void |
setLog(ReportLog log)
Deprecated. logging is now provided using the Java logging facilities. |
protected void |
setLogDelegate(ReportLog.Delegate delegate)
Deprecated. Set the delegate for this log. |
protected void |
setMessageFormat(String format)
Deprecated. Set the format for log messages. |
static void |
setThreshold(int threshold)
Deprecated. logging is now provided using the Java logging facilities. Log filtering should be accomplished by adding a LoggerFilter to a particular logger, or by creating
a "logging.properties" file in your configuration directory. |
protected void |
setThresholdLevel(int level)
Deprecated. Set the threshold level of this log. |
protected void |
setWriteToConsole(boolean write)
Deprecated. Sets whether log messages should be written to the console. |
protected void |
setWriteToStream(PrintWriter writer)
Deprecated. Set the writer to which the log message should be written. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TRACE
public static final int DEBUG
public static final int INFO
public static final int WARNING
public static final int ERROR
protected static final Logger LOG
protected static final Logger ROOT_LOG
| Constructor Detail |
|---|
protected ReportLog()
| Method Detail |
|---|
public static void setDelegate(ReportLog.Delegate delegate)
Handler and adding it to the
"inetsoft" logger. Note that any handlers added to this
logger must use a HandlerFilter.
delegate - the log delegate.public static void setThreshold(int threshold)
LoggerFilter to a particular logger, or by creating
a "logging.properties" file in your configuration directory.
threshold - the level of the priority threshold. The level may be
one of TRACE, DEBUG, INFO,
WARNING, or ERROR.public static void setFormat(String format)
Formatter on a specific handler,
or by creating a "logging.properties" file in your
configuration directory.
format - the format string, as specified in
MessageFormat.public static void print(String msg)
msg - the message.
public static void print(String msg,
int level)
msg - the message.level - the priority level of the message. The level may be one of
TRACE, DEBUG, INFO,
WARNING, or ERROR.public static boolean isDebugging(String aspect)
aspect - the specified aspect.
public static void debug(String msg,
String aspect)
msg - the specified message.aspect - the specified aspect.public static void print(Throwable exc)
print(java.lang.Throwable, int) instead.
exc - the error.
public static void debug(Throwable ex,
String aspect)
ex - the specified error.aspect - the specified aspect.
public static void print(Throwable exc,
int level)
exc - the error.level - the priority level of the error. The level may be one of
TRACE, DEBUG, INFO,
WARNING, or ERROR.
public static void print(String task,
long start)
print(java.lang.String, int) instead.
task - the name of the task.start - the time the task was started.
public static void print(String task,
long start,
int level)
task - the name of the task.start - the time the task was started.level - the priority level of the message. The level may be one of
TRACE, DEBUG, INFO,
WARNING, or ERROR.protected static ReportLog getLog()
protected static void setLog(ReportLog log)
log - the ReportLog instance to use for the current thread.protected void setLogDelegate(ReportLog.Delegate delegate)
delegate - the log delegate.protected void setThresholdLevel(int level)
level - the threshold level.protected void setMessageFormat(String format)
format - the format string.
protected void printMessage(String msg,
int level)
msg - the message.level - the priority level of the message.
protected void printError(Throwable exc,
int level)
exc - the error.level - the priority level of the error.protected void setWriteToConsole(boolean write)
write - true to write to the console; false
otherwise.protected void setWriteToStream(PrintWriter writer)
writer - the target writer.protected void disposeLog()
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||