IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.base
Interface BTTLog

All Known Implementing Classes:
BTTLogImpl, BTTLogToCommLoggingImpl, BTTLogToDisplayImp, BTTLogToLog4J, BTTLogToWASImpl, BTTLogVoidImp

public interface BTTLog

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.


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 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 entry 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.
 

Method Detail

doDebug

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.

Returns:
true if the message of DEBUG level is currently enabled by BTT trace configuration and target configuration.

doInfo

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.

Returns:
true if the message of INFO level is currently enabled by BTT trace configuration and target configuration.

doWarn

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.

Returns:
true if the message of WARN level is currently enabled by BTT trace configuration and target configuration.

doError

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.

Returns:
true if the message of ERROR level is currently enabled by BTT trace configuration.

doFatal

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.

Returns:
true if the message of FATAL level is currently enabled by BTT trace configuration and target configuration.

debug

void debug(java.lang.String msg)
Write message of DEBUG level to trace targets. Whether the trace message is recorded to targets finally depends on whether the DEBUG level is enabled by configuration of trace targets.

Parameters:
msg - trace message

debug

void debug(java.lang.String msg,
           java.lang.Throwable exception)
Write message and exception stack trace of DEBUG level to trace targets. Whether the trace message is recorded to targets finally depends on whether the DEBUG level is enabled by configuration of trace targets.

Parameters:
msg - trace message
exception - exception to be traced

debug

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. Whether the trace message is recorded to targets finally depends on whether the DEBUG level is enabled by configuration of trace targets. The object.toString() information will be recorded for the objects in object array.

Parameters:
msg - trace message
exception - exception to be traced
obj - object array

info

void info(java.lang.String msg)
Write message of INFO level to trace targets. Whether the trace message is recorded to targets finally depends on whether the INFO level is enabled by configuration of trace targets.

Parameters:
msg - trace message

info

void info(java.lang.String msg,
          java.lang.Throwable exception)
Write message and exception stack trace of INFO level to trace targets. Whether the trace message is recorded to targets finally depends on whether the INFO level is enabled by configuration of trace targets.

Parameters:
msg - trace message
exception - exception to be traced

info

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. Whether the trace message is recorded to targets finally depends on whether the INFO level is enabled by configuration of trace targets. The object.toString() information will be recorded for the objects in object array.

Parameters:
msg - trace message
exception - exception to be traced
obj - object array

warn

void warn(java.lang.String msg)
Write message of WARN level to trace targets. Whether the trace message is recorded to targets finally depends on whether the WARN level is enabled by configuration of trace targets.

Parameters:
msg - trace message

warn

void warn(java.lang.String msg,
          java.lang.Throwable exception)
Write message and exception stack trace of WARN level to trace targets. Whether the trace message is recorded to targets finally depends on whether the WARN level is enabled by configuration of trace targets.

Parameters:
msg - trace message
exception - exception to be traced

warn

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. Whether the trace message is recorded to targets finally depends on whether the WARN level is enabled by configuration of trace targets. The object.toString() information will be recorded for the objects in object array.

Parameters:
msg - trace message
exception - exception to be traced
obj - object array

error

void error(java.lang.String msg)
Write message of ERROR level to trace targets. Whether the trace message is recorded to targets finally depends on whether the ERROR level is enabled by configuration of trace targets.

Parameters:
msg - trace message

error

void error(java.lang.String msg,
           java.lang.Throwable exception)
Write message and exception stack trace of ERROR level to trace targets. Whether the trace message is recorded to targets finally depends on whether the ERROR level is enabled by configuration of trace targets.

Parameters:
msg - trace message
exception - exception to be traced

error

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. Whether the trace message is recorded to targets finally depends on whether the ERROR level is enabled by configuration of trace targets. The object.toString() information will be recorded for the objects in object array.

Parameters:
msg - trace message
exception - exception to be traced
obj - object array

fatal

void fatal(java.lang.String msg)
Write message of FATAL level to trace targets. Whether the trace message is recorded to targets finally depends on whether the FATAL level is enabled by configuration of trace targets.

Parameters:
msg - trace message

fatal

void fatal(java.lang.String msg,
           java.lang.Throwable exception)
Write message and exception stack trace of FATAL level to trace targets. Whether the trace message is recorded to targets finally depends on whether the FATAL level is enabled by configuration of trace targets.

Parameters:
msg - trace message
exception - exception to be traced

fatal

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. Whether the trace message is recorded to targets finally depends on whether the FATAL level is enabled by configuration of trace targets. The object.toString() information will be recorded for the objects in object array.

Parameters:
msg - trace message
exception - exception to be traced
obj - object array

entry

void entry()
Write method entry message of DEBUG level to trace targets. Whether the trace message is recorded to targets finally depends on whether the DEBUG level is enabled by configuration of trace targets.


exit

void exit()
Write method entry message of DEBUG level to trace targets. Whether the trace message is recorded to targets finally depends on whether the DEBUG level is enabled by configuration of trace targets.


IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011