|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.base.BTTLogImpl
public class BTTLogImpl
This class provides the main new trace APIs. Log instance is used to determine if trace is enabled by BTT trace configuration. It is also used to record trace messages.
Field Summary | |
---|---|
(package private) TraceRequester |
componentConfig
|
(package private) java.lang.String |
componentID
|
Constructor Summary | |
---|---|
BTTLogImpl(java.lang.String component,
TraceRequester request)
Constructor of BTTLog |
Method Summary | |
---|---|
void |
debug(java.lang.String msg)
Write message of DEBUG level to trace targets. |
void |
debug(java.lang.String msg,
java.lang.Throwable exception)
Write message and exception stack trace of DEBUG level to trace targets. |
void |
debug(java.lang.String msg,
java.lang.Throwable exception,
java.lang.Object[] obj)
Write message, exception stack trace and object information of DEBUG level to trace targets. |
boolean |
doDebug()
Check if a message of the DEBUG level is enabled to be logged to trace target according to BTT trace configuration in btt.xml. |
boolean |
doError()
Check if a message of the ERROR level is enabled to be logged to trace target according to BTT trace configuration in btt.xml. |
boolean |
doFatal()
Check if a message of the FATAL level is enabled to be logged to trace target according to BTT trace configuration in btt.xml. |
boolean |
doInfo()
Check if a message of the INFO level is enabled to be logged to trace target according to BTT trace configuration in btt.xml. |
boolean |
doWarn()
Check if a message of the WARN level is enabled to be logged to trace target according to BTT trace configuration in btt.xml. |
void |
entry()
Write method entry message of DEBUG level to trace targets. |
void |
entry(java.lang.String className,
java.lang.String methodName)
Write method entry message of DEBUG level to trace targets. |
void |
error(java.lang.String msg)
Write message of ERROR level to trace targets. |
void |
error(java.lang.String msg,
java.lang.Throwable exception)
Write message and exception stack trace of ERROR level to trace targets. |
void |
error(java.lang.String msg,
java.lang.Throwable exception,
java.lang.Object[] obj)
Write message, exception stack trace and object information of ERROR level to trace targets. |
void |
exit()
Write method exit message of DEBUG level to trace targets. |
void |
exit(java.lang.String className,
java.lang.String methodName)
Write method exit message of DEBUG level to trace targets. |
void |
fatal(java.lang.String msg)
Write message of FATAL level to trace targets. |
void |
fatal(java.lang.String msg,
java.lang.Throwable exception)
Write message and exception stack trace of FATAL level to trace targets. |
void |
fatal(java.lang.String msg,
java.lang.Throwable exception,
java.lang.Object[] obj)
Write message, exception stack trace and object information of FATAL level to trace targets. |
void |
info(java.lang.String msg)
Write message of INFO level to trace targets. |
void |
info(java.lang.String msg,
java.lang.Throwable exception)
Write message and exception stack trace of INFO level to trace targets. |
void |
info(java.lang.String msg,
java.lang.Throwable exception,
java.lang.Object[] obj)
Write message, exception stack trace and object information of INFO level to trace targets. |
void |
warn(java.lang.String msg)
Write message of WARN level to trace targets. |
void |
warn(java.lang.String msg,
java.lang.Throwable exception)
Write message and exception stack trace of WARN level to trace targets. |
void |
warn(java.lang.String msg,
java.lang.Throwable exception,
java.lang.Object[] obj)
Write message, exception stack trace and object information of WARN level to trace targets. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
TraceRequester componentConfig
java.lang.String componentID
Constructor Detail |
---|
public BTTLogImpl(java.lang.String component, TraceRequester request)
component
- Component IDrequest
- trace setting of the component defined in btt.xmlMethod Detail |
---|
public boolean doDebug()
doDebug
in interface BTTLog
public boolean doInfo()
doInfo
in interface BTTLog
public boolean doWarn()
doWarn
in interface BTTLog
public boolean doError()
doError
in interface BTTLog
public boolean doFatal()
doFatal
in interface BTTLog
public void debug(java.lang.String msg)
debug
in interface BTTLog
msg
- trace messagepublic void debug(java.lang.String msg, java.lang.Throwable exception)
debug
in interface BTTLog
msg
- trace messageexception
- exception to be tracedpublic void debug(java.lang.String msg, java.lang.Throwable exception, java.lang.Object[] obj)
debug
in interface BTTLog
msg
- trace messageexception
- exception to be tracedobj
- object arraypublic void info(java.lang.String msg)
info
in interface BTTLog
msg
- trace messagepublic void info(java.lang.String msg, java.lang.Throwable exception)
info
in interface BTTLog
msg
- trace messageexception
- exception to be tracedpublic void info(java.lang.String msg, java.lang.Throwable exception, java.lang.Object[] obj)
info
in interface BTTLog
msg
- trace messageexception
- exception to be tracedobj
- object arraypublic void warn(java.lang.String msg)
warn
in interface BTTLog
msg
- trace messagepublic void warn(java.lang.String msg, java.lang.Throwable exception)
warn
in interface BTTLog
msg
- trace messageexception
- exception to be tracedpublic void warn(java.lang.String msg, java.lang.Throwable exception, java.lang.Object[] obj)
warn
in interface BTTLog
msg
- trace messageexception
- exception to be tracedobj
- object arraypublic void error(java.lang.String msg)
error
in interface BTTLog
msg
- trace messagepublic void error(java.lang.String msg, java.lang.Throwable exception)
error
in interface BTTLog
msg
- trace messageexception
- exception to be tracedpublic void error(java.lang.String msg, java.lang.Throwable exception, java.lang.Object[] obj)
error
in interface BTTLog
msg
- trace messageexception
- exception to be tracedobj
- object arraypublic void fatal(java.lang.String msg)
fatal
in interface BTTLog
msg
- trace messagepublic void fatal(java.lang.String msg, java.lang.Throwable exception)
fatal
in interface BTTLog
msg
- trace messageexception
- exception to be tracedpublic void fatal(java.lang.String msg, java.lang.Throwable exception, java.lang.Object[] obj)
fatal
in interface BTTLog
msg
- trace messageexception
- exception to be tracedobj
- object arraypublic void entry()
entry
in interface BTTLog
msg
- trace messagepublic void exit()
exit
in interface BTTLog
msg
- trace messagepublic void entry(java.lang.String className, java.lang.String methodName)
className
- methodName
- public void exit(java.lang.String className, java.lang.String methodName)
className
- methodName
-
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |