|
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.BTTLogToWASImpl
public class BTTLogToWASImpl
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.
Constructor Summary | |
---|---|
BTTLogToWASImpl(java.util.logging.Logger wasLog,
boolean showThreadName)
Constructor for BTTLogFactory |
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[] objs)
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[] objs)
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[] objs)
Write message, exception stack trace and object information of FATAL level to trace targets. |
protected java.lang.String |
getFullPackageClassName()
Gets the full package and class name of the class that called any method in this class. |
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[] objs)
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[] objs)
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 |
Constructor Detail |
---|
public BTTLogToWASImpl(java.util.logging.Logger wasLog, boolean showThreadName)
wasLog
- showThreadName
- Method 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[] objs)
debug
in interface BTTLog
msg
- trace messageexception
- exception to be tracedobjs
- 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[] objs)
info
in interface BTTLog
msg
- trace messageexception
- exception to be tracedobjs
- 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[] objs)
warn
in interface BTTLog
msg
- trace messageexception
- exception to be tracedobjs
- 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[] objs)
error
in interface BTTLog
msg
- trace messageexception
- exception to be tracedobjs
- 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[] objs)
fatal
in interface BTTLog
msg
- trace messageexception
- exception to be tracedobjs
- 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
- protected java.lang.String getFullPackageClassName()
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |