|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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 |
|---|
void print(String msg,
int level)
msg - the message.level - the priority level of the message. This must be one of
the level constants defined in ReportLog.
void print(Throwable exc,
int level)
exc - the error.level - the priority level of the error. This must be one of the
level constants defined in ReportLog.void setThreshold(int threshold)
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. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||