|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.chart.internal.log.DefaultLoggerImpl
A default implementation for the chart logging framework
Field Summary |
Fields inherited from interface org.eclipse.birt.chart.log.ILogger |
ALL, ERROR, FATAL, INFORMATION, TRACE, WARNING |
Method Summary | |
static ILogger |
instance()
Returns a singleton instance of the logger. |
void |
log(java.lang.Exception ex)
Logs an exception into the target repository or destination. |
void |
log(int iCode,
java.lang.String sMessage)
Logs a message for the given message type into a target repository. |
void |
logFromScript(java.lang.String sMessage)
Deprecated. Logs messages originating from scripts associated with a chart model. |
void |
setVerboseLevel(int iVerboseLevel)
Sets the verbose level to specify the granularity of messages being logged based on the message type. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static final ILogger instance()
public final void setVerboseLevel(int iVerboseLevel)
ILogger
setVerboseLevel
in interface ILogger
iVerboseLevel
- Determines how to filter messages to be displayed on the
console.public final void logFromScript(java.lang.String sMessage)
sMessage
- The informational message to be logged.public void log(int iCode, java.lang.String sMessage)
ILogger
log
in interface ILogger
iCode
- The message type to be logged.sMessage
- The actual message to be loggedpublic void log(java.lang.Exception ex)
ILogger
log
in interface ILogger
ex
- The exception to be logged.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |