IBM Bank Transformation Toolkit Javadoc

com.ibm.btt.base
Class BTTLogVoidImp

java.lang.Object
  extended by com.ibm.btt.base.BTTLogVoidImp
All Implemented Interfaces:
BTTLog

public class BTTLogVoidImp
extends java.lang.Object
implements BTTLog

This class is used when BTT trace is not initialized. The trace operation is empty


Constructor Summary
BTTLogVoidImp()
           
 
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 methodName)
           
 void entry(java.lang.String className, java.lang.String methodName)
           
 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 exit(java.lang.String methodName)
           
 void exit(java.lang.String className, java.lang.String methodName)
           
 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
 

Constructor Detail

BTTLogVoidImp

public BTTLogVoidImp()
Method Detail

debug

public void debug(java.lang.String msg)
Description copied from interface: BTTLog
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.

Specified by:
debug in interface BTTLog
Parameters:
msg - trace message

debug

public void debug(java.lang.String msg,
                  java.lang.Throwable exception)
Description copied from interface: BTTLog
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.

Specified by:
debug in interface BTTLog
Parameters:
msg - trace message
exception - exception to be traced

debug

public void debug(java.lang.String msg,
                  java.lang.Throwable exception,
                  java.lang.Object[] obj)
Description copied from interface: BTTLog
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.

Specified by:
debug in interface BTTLog
Parameters:
msg - trace message
exception - exception to be traced
obj - object array

doDebug

public boolean doDebug()
Description copied from interface: BTTLog
Check if a message of the DEBUG level is enabled to be logged to trace target according to BTT trace configuration in btt.xml.

Specified by:
doDebug in interface BTTLog
Returns:
true if the message of DEBUG level is currently enabled by BTT trace configuration and target configuration.

doError

public boolean doError()
Description copied from interface: BTTLog
Check if a message of the ERROR level is enabled to be logged to trace target according to BTT trace configuration in btt.xml.

Specified by:
doError in interface BTTLog
Returns:
true if the message of ERROR level is currently enabled by BTT trace configuration.

doFatal

public boolean doFatal()
Description copied from interface: BTTLog
Check if a message of the FATAL level is enabled to be logged to trace target according to BTT trace configuration in btt.xml.

Specified by:
doFatal in interface BTTLog
Returns:
true if the message of FATAL level is currently enabled by BTT trace configuration and target configuration.

doInfo

public boolean doInfo()
Description copied from interface: BTTLog
Check if a message of the INFO level is enabled to be logged to trace target according to BTT trace configuration in btt.xml.

Specified by:
doInfo in interface BTTLog
Returns:
true if the message of INFO level is currently enabled by BTT trace configuration and target configuration.

doWarn

public boolean doWarn()
Description copied from interface: BTTLog
Check if a message of the WARN level is enabled to be logged to trace target according to BTT trace configuration in btt.xml.

Specified by:
doWarn in interface BTTLog
Returns:
true if the message of WARN level is currently enabled by BTT trace configuration and target configuration.

entry

public void entry()
Description copied from interface: BTTLog
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.

Specified by:
entry in interface BTTLog

entry

public void entry(java.lang.String methodName)

entry

public void entry(java.lang.String className,
                  java.lang.String methodName)

error

public void error(java.lang.String msg)
Description copied from interface: BTTLog
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.

Specified by:
error in interface BTTLog
Parameters:
msg - trace message

error

public void error(java.lang.String msg,
                  java.lang.Throwable exception)
Description copied from interface: BTTLog
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.

Specified by:
error in interface BTTLog
Parameters:
msg - trace message
exception - exception to be traced

error

public void error(java.lang.String msg,
                  java.lang.Throwable exception,
                  java.lang.Object[] obj)
Description copied from interface: BTTLog
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.

Specified by:
error in interface BTTLog
Parameters:
msg - trace message
exception - exception to be traced
obj - object array

exit

public void exit()
Description copied from interface: BTTLog
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.

Specified by:
exit in interface BTTLog

exit

public void exit(java.lang.String methodName)

exit

public void exit(java.lang.String className,
                 java.lang.String methodName)

fatal

public void fatal(java.lang.String msg)
Description copied from interface: BTTLog
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.

Specified by:
fatal in interface BTTLog
Parameters:
msg - trace message

fatal

public void fatal(java.lang.String msg,
                  java.lang.Throwable exception)
Description copied from interface: BTTLog
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.

Specified by:
fatal in interface BTTLog
Parameters:
msg - trace message
exception - exception to be traced

fatal

public void fatal(java.lang.String msg,
                  java.lang.Throwable exception,
                  java.lang.Object[] obj)
Description copied from interface: BTTLog
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.

Specified by:
fatal in interface BTTLog
Parameters:
msg - trace message
exception - exception to be traced
obj - object array

info

public void info(java.lang.String msg)
Description copied from interface: BTTLog
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.

Specified by:
info in interface BTTLog
Parameters:
msg - trace message

info

public void info(java.lang.String msg,
                 java.lang.Throwable exception)
Description copied from interface: BTTLog
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.

Specified by:
info in interface BTTLog
Parameters:
msg - trace message
exception - exception to be traced

info

public void info(java.lang.String msg,
                 java.lang.Throwable exception,
                 java.lang.Object[] obj)
Description copied from interface: BTTLog
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.

Specified by:
info in interface BTTLog
Parameters:
msg - trace message
exception - exception to be traced
obj - object array

warn

public void warn(java.lang.String msg)
Description copied from interface: BTTLog
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.

Specified by:
warn in interface BTTLog
Parameters:
msg - trace message

warn

public void warn(java.lang.String msg,
                 java.lang.Throwable exception)
Description copied from interface: BTTLog
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.

Specified by:
warn in interface BTTLog
Parameters:
msg - trace message
exception - exception to be traced

warn

public void warn(java.lang.String msg,
                 java.lang.Throwable exception,
                 java.lang.Object[] obj)
Description copied from interface: BTTLog
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.

Specified by:
warn in interface BTTLog
Parameters:
msg - trace message
exception - exception to be traced
obj - object array

IBM Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2008