|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.applsrv.aa.Tracer
This class controls tracing for each of its instances.
Field Summary | |
static int |
DEBUG_ERR
Constants to define the disposition of a message. |
static int |
DEBUG_OFF
Constants to define the disposition of a message. |
static int |
DEBUG_OUT
Constants to define the disposition of a message. |
static int |
DEBUG_STREAM
Constants to define the disposition of a message. |
static int |
LOG_ALWAYS
Constants to define the types of messages. |
static int |
LOG_DEBUG
Constants to define the types of messages. |
static int |
LOG_ENTRY
Constants to define the types of messages. |
static int |
LOG_ERROR
Constants to define the types of messages. |
static int |
LOG_EXIT
Constants to define the types of messages. |
static int |
LOG_INFO
Constants to define the types of messages. |
static int |
LOG_WALKBACK
Constants to define the types of messages. |
static int |
LOG_WARNING
Constants to define the types of messages. |
static int |
LOG_XERROR
Constants to define the types of messages. |
static int |
MAX_LOG
Constants to define the types of messages. |
Constructor Summary | |
Tracer()
Return an initialized instance of this trace logger. |
Method Summary | |
void |
debug(java.lang.String aString)
Write a debug message to the appropriate log (if any). |
void |
debug(java.lang.String aString,
java.lang.Object[] anArray)
Write a message and a collection to the appropriate log (if any). |
void |
debug(java.lang.String aString1,
java.lang.String aString2)
Write a pair of messages to the appropriate log (if any). |
void |
debug(java.lang.String aString,
java.lang.Throwable anException)
Write a debug message and a debug exception (and possibly its walkback) to the appropriate log (if any). |
void |
debug(java.lang.Throwable anException)
Write a debug exception (and possibly its walkback) to the appropriate log (if any). |
void |
disableAll()
Disable all types of logging. |
void |
enableAll()
Enable all types of logging. |
void |
error(java.lang.String aString)
Write a error message to the appropriate log (if any). |
void |
error(java.lang.String aString,
java.lang.Throwable anException)
Write a error message and a debug exception (and possibly its walkback) to the appropriate log (if any). |
void |
error(java.lang.Throwable anException)
Write a error exception (and possibly its walkback) to the appropriate log (if any). |
boolean |
get(int type)
Query the status of the specified type of logging. |
boolean |
getCBTFTracing()
Return the status of CBTF tracing. |
int |
getDebug()
Return the debug mode setting. |
java.lang.String |
getDebugString()
Return the debug mode setting as a String. |
boolean |
getEntryStatus()
Query the on/off state of entry logging. |
boolean |
getExitStatus()
Query the on/off state of exit logging. |
boolean |
getStatus()
Query the on/off state of logging. |
java.io.OutputStream |
getStream()
Return the stream used for debug output. |
boolean |
getWalkback()
Query the status of walkbacks. |
boolean |
getWarnings()
Query the status of warning notifications. |
LogHandler |
handler()
Return the message log handler. |
void |
handler(LogHandler logger)
Set the message log handler. |
void |
initExceptionTracing(java.lang.String s)
Enable or disable exception tracing. |
void |
initTrace(java.lang.String tracing)
Initialize tracing to the specified value. |
void |
initTraceFile(java.lang.String file)
Initialize the tracing file. |
void |
initTraceNX(java.lang.String tracing)
Initialize tracing to the specified value. |
void |
log(int type,
boolean aBoolean)
Write a boolean to the appropriate log (if any). |
void |
log(int type,
byte aByte)
Write a byte to the appropriate log (if any). |
void |
log(int type,
char aChar)
Write a character to the appropriate log (if any). |
void |
log(int type,
double aDouble)
Write a double precision float to the appropriate log (if any). |
void |
log(int type,
float aFloat)
Write a float to the appropriate log (if any). |
void |
log(int type,
int anInt)
Write an integer to the appropriate log (if any). |
void |
log(int type,
long aLong)
Write a long integer to the appropriate log (if any). |
void |
log(int type,
java.lang.Object anObject)
Write an object to the appropriate log (if any). |
void |
log(int type,
java.lang.Object[] anArray)
Write a java array to the appropriate log (if any). |
void |
log(int type,
short aShort)
Write a short integer to the appropriate log (if any). |
void |
log(int type,
java.lang.String aString)
Write a message to the appropriate log (if any). |
void |
log(int type,
java.lang.String aString,
boolean aBoolean)
Write a string and a boolean to the appropriate log (if any). |
void |
log(int type,
java.lang.String aString,
int anInt)
Write messages to the appropriate log (if any). |
void |
log(int type,
java.lang.String aString1,
int int1,
java.lang.String aString2,
java.lang.Object anObject)
Write messages to the appropriate log (if any). |
void |
log(int type,
java.lang.String aString1,
int int1,
java.lang.String aString2,
java.lang.String aString3,
java.lang.String aString4)
Write messages to the appropriate log (if any). |
void |
log(int type,
java.lang.String aString,
java.lang.Object anObject)
Log a message and an object. |
void |
log(int type,
java.lang.String aString,
java.lang.Object[] anArray)
Write a message and a collection to the appropriate log (if any). |
void |
log(int type,
java.lang.String aString1,
java.lang.Object anObject,
java.lang.String aString2)
Log a message and an object and another message. |
void |
log(int type,
java.lang.String aString1,
java.lang.Object anObject1,
java.lang.String aString2,
java.lang.Object anObject2)
Log messages and objects. |
void |
log(int type,
java.lang.String aString1,
java.lang.Object anObject1,
java.lang.String aString2,
java.lang.Object anObject2,
java.lang.String aString3)
Log messages and objects. |
void |
log(int type,
java.lang.String aString1,
java.lang.Object anObject1,
java.lang.String aString2,
java.lang.String aString3)
Log messages and objects. |
void |
log(int type,
java.lang.String aString1,
java.lang.String aString2)
Write a pair of messages to the appropriate log (if any). |
void |
log(int type,
java.lang.String aString1,
java.lang.String aString2,
Array anArray)
Write 2 messages and a vector collection to the appropriate log (if any). |
void |
log(int type,
java.lang.String aString1,
java.lang.String aString2,
java.lang.Object[] anArray)
Write 2 messages and a vector collection to the appropriate log (if any). |
void |
log(int type,
java.lang.String aString1,
java.lang.String aString2,
java.lang.String aString3)
Write three messages to the appropriate log (if any). |
void |
log(int type,
java.lang.String aString1,
java.lang.String aString2,
java.lang.String aString3,
int int1,
java.lang.String aString4)
Write messages to the appropriate log (if any). |
void |
log(int type,
java.lang.String aString1,
java.lang.String aString2,
java.lang.String aString3,
java.util.Vector aVector,
java.lang.String aString4)
Write 4 messages and a vector collection to the appropriate log (if any). |
void |
log(int type,
java.lang.String aString1,
java.lang.String aString2,
java.util.Vector aVector)
Write 2 messages and a vector collection to the appropriate log (if any). |
void |
log(int type,
java.lang.String aString,
java.lang.Throwable anException)
Log a message and an exception. |
void |
log(int type,
java.lang.String aString,
java.util.Vector aVector)
Write a message and a vector collection to the appropriate log (if any). |
void |
log(int type,
java.lang.Throwable anException)
Write an exception (and possibly its walkback) to the appropriate log (if any). |
void |
log(int type,
java.util.Vector aVector)
Write a vector collection to the appropriate log (if any). |
void |
log(java.lang.String aString)
Write a message to the appropriate log (if any). |
void |
log(java.lang.String aString1,
java.lang.String aString2)
Write a pair of messages to the appropriate log (if any). |
void |
logServletEnter(java.lang.Object anObject)
Write an object to the appropriate log (if any) on entry to a servlet. |
void |
logServletEnter(java.lang.String aString)
Write a message to the appropriate log (if any) on entry to a servlet. |
void |
logServletEnter(java.lang.String aString,
java.lang.Object anObject)
Write a message and an object to the appropriate log (if any) on entry to a servlet. |
void |
logServletEnter(java.lang.String aString,
java.lang.Object[] anArray)
Write a message and a list to the appropriate log (if any) on entry to a servlet. |
void |
logServletEnter(java.lang.String aString1,
java.lang.String aString2)
Write a pair of messages to the appropriate log (if any) on entry to a servlet. |
void |
logServletReturn(java.lang.Object anObject)
Write an object to the appropriate log (if any) on return from a servlet. |
void |
logServletReturn(java.lang.String aString)
Write a message to the appropriate log (if any) on return from a servlet. |
void |
logServletReturn(java.lang.String aString,
java.lang.Object anObject)
Write a message and an object to the appropriate log (if any) on return from a servlet. |
void |
logServletReturn(java.lang.String aString1,
java.lang.String aString2)
Write a pair of messages to the appropriate log (if any) on return from a servlet. |
void |
logServletReturn(java.lang.String aString,
java.lang.Throwable anException)
Log a message and an exception to the appropriate log (if any) on return from a servlet. |
void |
set(int type,
boolean status)
Enable or disable the specified type of logging. |
boolean |
set(java.lang.String type,
boolean status)
Enable or disable the specified type of logging. |
void |
setCBTFComponent(java.lang.String component)
Set the CBTF component id. |
void |
setCBTFTracing(boolean enableFlag)
Enable or disable CBTF tracing. |
void |
setDebug(int mode)
Set the debug mode. |
void |
setDebugOff()
Disable debug tracing. |
void |
setDebugTo(java.io.OutputStream aStream)
Enable debug tracing to the output stream. |
void |
setDebugTo(java.lang.String fileName)
Enable debug tracing to the specified file (which is openned for appending). |
void |
setDebugToStdErr()
Enable debug tracing to standard error output. |
void |
setDebugToStdOut()
Enable debug tracing to standard output. |
void |
setExceptionTracing(boolean enableFlag)
Enable or disable exception tracing. |
void |
setStream(java.io.OutputStream aStream)
Set the stream used for debug output. |
void |
setWarnings(boolean aBoolean)
Enable or disable warnings. |
java.lang.String |
toString()
Returns a string representation of this logger. |
java.lang.String |
toString(java.lang.String prefix)
Returns a string representation of this logger. |
void |
trace(int type,
Array anArray)
Write a vector collection to the appropriate log (if any). |
void |
trace(int type,
boolean aBoolean)
Write a boolean to the appropriate log (if any). |
void |
trace(int type,
byte aByte)
Write a byte to the appropriate log (if any). |
void |
trace(int type,
char aChar)
Write a character to the appropriate log (if any). |
void |
trace(int type,
double aDouble)
Write a double precision float to the appropriate log (if any). |
void |
trace(int type,
float aFloat)
Write a float to the appropriate log (if any). |
void |
trace(int type,
int anInt)
Write an integer to the appropriate log (if any). |
void |
trace(int type,
long aLong)
Write a long integer to the appropriate log (if any). |
void |
trace(int type,
java.lang.Object anObject)
Write an object to the appropriate log (if any). |
void |
trace(int type,
java.lang.Object[] anArray)
Write a java array to the appropriate log (if any). |
void |
trace(int type,
short aShort)
Write a short integer to the appropriate log (if any). |
void |
trace(int type,
java.lang.String aString)
Write a message to the appropriate log (if any). |
void |
trace(int type,
java.lang.String aString,
Array anArray)
Write a message and a vector collection to the appropriate log (if any). |
void |
trace(int type,
java.lang.String aString,
boolean aBoolean)
Write a string and a boolean to the appropriate log (if any). |
void |
trace(int type,
java.lang.String aString,
int anInt)
Write messages to the appropriate log (if any). |
void |
trace(int type,
java.lang.String aString1,
int int1,
java.lang.String aString2,
java.lang.Object anObject)
Write messages to the appropriate log (if any). |
void |
trace(int type,
java.lang.String aString1,
int int1,
java.lang.String aString2,
java.lang.String aString3,
java.lang.String aString4)
Write messages to the appropriate log (if any). |
void |
trace(int type,
java.lang.String aString,
java.lang.Object anObject)
Log a message and an object. |
void |
trace(int type,
java.lang.String aString,
java.lang.Object[] anArray)
Write a message and a collection to the appropriate log (if any). |
void |
trace(int type,
java.lang.String aString1,
java.lang.Object anObject,
java.lang.String aString2)
Log a message and an object and another message. |
void |
trace(int type,
java.lang.String aString1,
java.lang.Object anObject1,
java.lang.String aString2,
java.lang.Object anObject2)
Log messages and objects. |
void |
trace(int type,
java.lang.String aString1,
java.lang.Object anObject1,
java.lang.String aString2,
java.lang.Object anObject2,
java.lang.String aString3)
Log messages and objects. |
void |
trace(int type,
java.lang.String aString1,
java.lang.Object anObject1,
java.lang.String aString2,
java.lang.String aString3)
Log messages and objects. |
void |
trace(int type,
java.lang.String aString1,
java.lang.String aString2)
Write a pair of messages to the appropriate log (if any). |
void |
trace(int type,
java.lang.String aString1,
java.lang.String aString2,
Array anArray)
Write 2 messages and an array to the appropriate log (if any). |
void |
trace(int type,
java.lang.String aString1,
java.lang.String aString2,
java.lang.Object[] anArray)
Write 2 messages and a java array to the appropriate log (if any). |
void |
trace(int type,
java.lang.String aString1,
java.lang.String aString2,
java.lang.String aString3)
Log three messages. |
void |
trace(int type,
java.lang.String aString1,
java.lang.String aString2,
java.lang.String aString3,
int int1,
java.lang.String aString4)
Write messages to the appropriate log (if any). |
void |
trace(int type,
java.lang.String aString1,
java.lang.String aString2,
java.lang.String aString3,
java.util.Vector aVector,
java.lang.String aString4)
Write 4 messages and a vector collection to the appropriate log (if any). |
void |
trace(int type,
java.lang.String aString1,
java.lang.String aString2,
java.util.Vector aVector)
Write 2 messages and a vector collection to the appropriate log (if any). |
void |
trace(int type,
java.lang.String aString,
java.lang.Throwable anException)
Log a message and an exception. |
void |
trace(int type,
java.lang.String aString,
java.util.Vector aVector)
Write a message and a vector collection to the appropriate log (if any). |
void |
trace(int type,
java.lang.Throwable anException)
Write an exception (and possibly its walkback) to the appropriate log (if any). |
void |
trace(int type,
java.util.Vector aVector)
Write a vector collection to the appropriate log (if any). |
void |
traceServletEntryOff()
Disable servlet entry tracing. |
void |
traceServletEntryOn()
Enable servlet entry tracing. |
void |
traceServletReturnOff()
Disable servlet return tracing. |
void |
traceServletReturnOn()
Enable servlet return tracing. |
void |
walkbackOff()
Disable walkbacks. |
void |
walkbackOn()
Enable walkbacks. |
void |
warning(java.lang.String aString)
Write a warning message to the appropriate log (if any). |
void |
warning(java.lang.String aString,
java.lang.Throwable anException)
Write a warning message and a warning exception (and possibly its walkback) to the appropriate log (if any). |
void |
warning(java.lang.Throwable anException)
Write a warning exception (and possibly its walkback) to the appropriate log (if any). |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final int DEBUG_OFF
public static final int DEBUG_OUT
public static final int DEBUG_ERR
public static final int DEBUG_STREAM
public static final int LOG_ALWAYS
public static final int LOG_ERROR
public static final int LOG_WARNING
public static final int LOG_INFO
public static final int LOG_DEBUG
public static final int LOG_ENTRY
public static final int LOG_EXIT
public static final int LOG_WALKBACK
public static final int LOG_XERROR
public static final int MAX_LOG
Constructor Detail |
public Tracer()
Method Detail |
public void debug(java.lang.String aString)
aString
- String - the message to write to the log.public void debug(java.lang.String aString, java.lang.Object[] anArray)
aString
- String - the message to write to the log.anArray
- Object[] - the collection to write to the log.public void debug(java.lang.String aString1, java.lang.String aString2)
aString1
- String - the first message to write to the log.aString2
- String - the second message to write to the log.public void debug(java.lang.String aString, java.lang.Throwable anException)
aString
- String - the message to write to the log.anException
- Throwable - the exception to write to the log.public void debug(java.lang.Throwable anException)
anException
- Throwable - the exception to write to the log.public void disableAll()
public void enableAll()
public void error(java.lang.String aString)
aString
- String - the message to write to the log.public void error(java.lang.String aString, java.lang.Throwable anException)
aString
- String - the message to write to the log.anException
- Throwable - the exception to write to the log.public void error(java.lang.Throwable anException)
anException
- Throwable - the exception to write to the log.public boolean get(int type)
type
- int - the index of the specified type of logging.public boolean getCBTFTracing()
public int getDebug()
public java.lang.String getDebugString()
public boolean getEntryStatus()
public boolean getExitStatus()
public boolean getStatus()
public java.io.OutputStream getStream()
public boolean getWalkback()
public boolean getWarnings()
public LogHandler handler()
public void handler(LogHandler logger)
logger
- LogHandler - the message log handler.public void initExceptionTracing(java.lang.String s)
s
- String - the boolean string to parse.public void initTrace(java.lang.String tracing)
tracing
- String - the the specified value.public void initTraceFile(java.lang.String file) throws java.io.IOException
file
- String - the name of the tracing file.public void initTraceNX(java.lang.String tracing)
tracing
- String - the the specified value.public void log(int type, java.lang.Object[] anArray)
type
- int - the type of message being logged.anArray
- Object[] - the collection to write to the log.public void log(int type, byte aByte)
type
- int - the type of message being logged.aByte
- byte - the byte to write to the log.public void log(int type, char aChar)
type
- int - the type of message being logged.aChar
- char - the character to write to the log.public void log(int type, double aDouble)
type
- int - the type of message being logged.aDouble
- double - the double precision float to write to the log.public void log(int type, float aFloat)
type
- int - the type of message being logged.aFloat
- float - the float to write to the log.public void log(int type, int anInt)
type
- int - the type of message being logged.anInt
- int - the integer to write to the log.public void log(int type, long aLong)
type
- int - the type of message being logged.aLong
- long - the long integer to write to the log.public void log(int type, java.lang.Object anObject)
type
- int - the type of message being logged.anObject
- Object - the object to write to the log.public void log(int type, java.lang.String aString)
type
- int - the type of message being logged.aString
- String - the message to write to the log.public void log(int type, java.lang.String aString, java.lang.Object[] anArray)
type
- int - the type of message being logged.aString
- String - the message to write to the log.anArray
- Object[] - the collection to write to the log.public void log(int type, java.lang.String aString, int anInt)
type
- int - the type of message being logged.aString
- String - the message to write to the log.anInt
- int - the integer to write to the log.public void log(int type, java.lang.String aString1, int int1, java.lang.String aString2, java.lang.Object anObject)
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.int1
- int - the integer to write to the log.aString2
- String - the second message to write to the log.anObject
- Object - the object to write to the log.public void log(int type, java.lang.String aString1, int int1, java.lang.String aString2, java.lang.String aString3, java.lang.String aString4)
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.int1
- int - the integer to write to the log.aString2
- String - the second message to write to the log.aString3
- String - the third message to write to the log.aString4
- String - the fourth message to write to the log.public void log(int type, java.lang.String aString, java.lang.Object anObject)
type
- int - the type of message being logged.aString
- String - the message to write to the log.anObject
- Object - the object to write to the log.public void log(int type, java.lang.String aString1, java.lang.Object anObject, java.lang.String aString2)
type
- int - the type of message being logged.aString1
- String - the message to write to the log.anObject
- Object - the object to write to the log.aString1
- String - the message to write to the log.public void log(int type, java.lang.String aString1, java.lang.Object anObject1, java.lang.String aString2, java.lang.Object anObject2)
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.anObject1
- Object - the first object to write to the log.aString2
- String - the second message to write to the log.anObject2
- Object - the second object to write to the log.public void log(int type, java.lang.String aString1, java.lang.Object anObject1, java.lang.String aString2, java.lang.Object anObject2, java.lang.String aString3)
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.anObject1
- Object - the first object to write to the log.aString2
- String - the second message to write to the log.anObject2
- Object - the second object to write to the log.aString3
- String - the third message to write to the log.public void log(int type, java.lang.String aString1, java.lang.Object anObject1, java.lang.String aString2, java.lang.String aString3)
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.anObject1
- Object - the first object to write to the log.aString2
- String - the second message to write to the log.aString3
- String - the third message to write to the log.public void log(int type, java.lang.String aString1, java.lang.String aString2)
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.aString2
- String - the second message to write to the log.public void log(int type, java.lang.String aString1, java.lang.String aString2, java.lang.Object[] anArray)
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.aString2
- String - the second message to write to the log.anArray
- Object[] - the collection to write to the log.public void log(int type, java.lang.String aString1, java.lang.String aString2, Array anArray)
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.aString2
- String - the second message to write to the log.anArray
- Array - the collection to write to the log.public void log(int type, java.lang.String aString1, java.lang.String aString2, java.lang.String aString3)
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.aString2
- String - the second message to write to the log.aString3
- String - the third message to write to the log.public void log(int type, java.lang.String aString1, java.lang.String aString2, java.lang.String aString3, int int1, java.lang.String aString4)
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.aString2
- String - the second message to write to the log.aString3
- String - the third message to write to the log.int1
- int - the integer to write to the log.aString4
- String - the fourth message to write to the log.public void log(int type, java.lang.String aString1, java.lang.String aString2, java.lang.String aString3, java.util.Vector aVector, java.lang.String aString4)
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.aString2
- String - the second message to write to the log.aString3
- String - the third message to write to the log.aVector
- Vector - the collection to write to the log.aString4
- String - the fourth message to write to the log.public void log(int type, java.lang.String aString1, java.lang.String aString2, java.util.Vector aVector)
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.aString2
- String - the second message to write to the log.aVector
- Vector - the collection to write to the log.public void log(int type, java.lang.String aString, java.lang.Throwable anException)
type
- int - the type of message being logged.aString
- String - the message to write to the log.anException
- Throwable - the exception to write to the log.public void log(int type, java.lang.String aString, java.util.Vector aVector)
type
- int - the type of message being logged.aString
- String - the message to write to the log.aVector
- Vector - the collection to write to the log.public void log(int type, java.lang.String aString, boolean aBoolean)
type
- int - the type of message being logged.aString
- String - the string to write to the log.aBoolean
- boolean - the boolean to write to the log.public void log(int type, java.lang.Throwable anException)
type
- int - the type of message being logged.anException
- Throwable - the exception to write to the log.public void log(int type, java.util.Vector aVector)
type
- int - the type of message being logged.aVector
- Vector - the collection to write to the log.public void log(int type, short aShort)
type
- int - the type of message being logged.aShort
- short - the short integer to write to the log.public void log(int type, boolean aBoolean)
type
- int - the type of message being logged.aBoolean
- boolean - the boolean to write to the log.public void log(java.lang.String aString)
aString
- String - the message to write to the log.public void log(java.lang.String aString1, java.lang.String aString2)
aString1
- String - the first message to write to the log.aString2
- String - the second message to write to the log.public void logServletEnter(java.lang.Object anObject)
anObject
- Object - the object to write to the log.public void logServletEnter(java.lang.String aString)
aString
- String - the message to write to the log.public void logServletEnter(java.lang.String aString, java.lang.Object[] anArray)
aString
- String - the message to write to the log.anArray
- Object[] - the collection to write to the log.public void logServletEnter(java.lang.String aString, java.lang.Object anObject)
aString
- String - the message to write to the log.anObject
- Object - the object to write to the log.public void logServletEnter(java.lang.String aString1, java.lang.String aString2)
aString1
- String - the first message to write to the log.aString2
- String - the second message to write to the log.public void logServletReturn(java.lang.Object anObject)
anObject
- Object - the object to write to the log.public void logServletReturn(java.lang.String aString)
aString
- String - the message to write to the log.public void logServletReturn(java.lang.String aString, java.lang.Object anObject)
aString
- String - the message to write to the log.anObject
- Object - the object to write to the log.public void logServletReturn(java.lang.String aString1, java.lang.String aString2)
aString1
- String - the first message to write to the log.aString2
- String - the second message to write to the log.public void logServletReturn(java.lang.String aString, java.lang.Throwable anException)
aString
- String - the message to write to the log.anException
- Throwable - the exception to write to the log.public void set(int type, boolean status)
type
- int - the index of the specified type of logging.status
- boolean - true to enable this type of logging, false to disable it.public boolean set(java.lang.String type, boolean status)
type
- String - the name of the specified type of logging.status
- boolean - true to enable this type of logging, false to disable it.public void setCBTFComponent(java.lang.String component)
component
- String - the CBTF component id.public void setCBTFTracing(boolean enableFlag)
enableFlag
- boolean - true to enable CBTF tracing, false to disable it.public void setDebug(int mode)
mode
- int - new debug mode.public void setDebugOff()
public void setDebugTo(java.io.OutputStream aStream)
aStream
- OutputStream - the debug output stream.public void setDebugTo(java.lang.String fileName)
fileName
- String - the name of the log file.public void setDebugToStdErr()
public void setDebugToStdOut()
public void setExceptionTracing(boolean enableFlag)
enableFlag
- boolean - true to enable exception tracing, false to disable it.public void setStream(java.io.OutputStream aStream)
aStream
- OutputStream - the debug output stream.public void setWarnings(boolean aBoolean)
aBoolean
- boolean - the boolean to write to the log.public java.lang.String toString()
public java.lang.String toString(java.lang.String prefix)
prefix
- String - prefix the result with this string.public void trace(int type, java.lang.Object[] anArray) throws java.lang.Exception
type
- int - the type of message being logged.anArray
- Object[] - the collection to write to the log.public void trace(int type, byte aByte) throws java.lang.Exception
type
- int - the type of message being logged.aByte
- byte - the byte to write to the log.public void trace(int type, char aChar) throws java.lang.Exception
type
- int - the type of message being logged.aChar
- char - the character to write to the log.public void trace(int type, double aDouble) throws java.lang.Exception
type
- int - the type of message being logged.aDouble
- double - the double precision float to write to the log.public void trace(int type, float aFloat) throws java.lang.Exception
type
- int - the type of message being logged.aFloat
- float - the float to write to the log.public void trace(int type, int anInt) throws java.lang.Exception
type
- int - the type of message being logged.anInt
- int - the integer to write to the log.public void trace(int type, long aLong) throws java.lang.Exception
type
- int - the type of message being logged.aLong
- long - the long integer to write to the log.public void trace(int type, Array anArray) throws java.lang.Exception
type
- int - the type of message being logged.anArray
- Array - the collection to write to the log.public void trace(int type, java.lang.Object anObject) throws java.lang.Exception
type
- int - the type of message being logged.anObject
- Object - the object to write to the log.public void trace(int type, java.lang.String aString) throws java.lang.Exception
type
- int - the type of message being logged.aString
- String - the message to write to the log.public void trace(int type, java.lang.String aString, java.lang.Object[] anArray) throws java.lang.Exception
type
- int - the type of message being logged.aString
- String - the message to write to the log.anArray
- Object[] - the collection to write to the log.public void trace(int type, java.lang.String aString, int anInt) throws java.lang.Exception
type
- int - the type of message being logged.aString
- String - the message to write to the log.anInt
- int - the integer to write to the log.public void trace(int type, java.lang.String aString1, int int1, java.lang.String aString2, java.lang.Object anObject) throws java.lang.Exception
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.int1
- int - the integer to write to the log.aString2
- String - the second message to write to the log.anObject
- Object - the object to write to the log.public void trace(int type, java.lang.String aString1, int int1, java.lang.String aString2, java.lang.String aString3, java.lang.String aString4) throws java.lang.Exception
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.int1
- int - the integer to write to the log.aString2
- String - the second message to write to the log.aString3
- String - the third message to write to the log.aString4
- String - the fourth message to write to the log.public void trace(int type, java.lang.String aString, Array anArray) throws java.lang.Exception
type
- int - the type of message being logged.aString
- String - the message to write to the log.anArray
- Array - the collection to write to the log.public void trace(int type, java.lang.String aString, java.lang.Object anObject) throws java.lang.Exception
type
- int - the type of message being logged.aString
- String - the message to write to the log.anObject
- Object - the object to write to the log.public void trace(int type, java.lang.String aString1, java.lang.Object anObject, java.lang.String aString2) throws java.lang.Exception
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.anObject
- Object - the object to write to the log.aString2
- String - the second message to write to the log.public void trace(int type, java.lang.String aString1, java.lang.Object anObject1, java.lang.String aString2, java.lang.Object anObject2) throws java.lang.Exception
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.anObject1
- Object - the first object to write to the log.aString2
- String - the second message to write to the log.anObject2
- Object - the second object to write to the log.public void trace(int type, java.lang.String aString1, java.lang.Object anObject1, java.lang.String aString2, java.lang.Object anObject2, java.lang.String aString3) throws java.lang.Exception
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.anObject1
- Object - the first object to write to the log.aString2
- String - the second message to write to the log.anObject2
- Object - the second object to write to the log.aString3
- String - the third message to write to the log.public void trace(int type, java.lang.String aString1, java.lang.Object anObject1, java.lang.String aString2, java.lang.String aString3) throws java.lang.Exception
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.anObject1
- Object - the first object to write to the log.aString2
- String - the second message to write to the log.aString3
- String - the third message to write to the log.public void trace(int type, java.lang.String aString1, java.lang.String aString2) throws java.lang.Exception
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.aString2
- String - the second message to write to the log.public void trace(int type, java.lang.String aString1, java.lang.String aString2, java.lang.Object[] anArray) throws java.lang.Exception
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.aString2
- String - the second message to write to the log.anArray
- Object[] - the collection to write to the log.public void trace(int type, java.lang.String aString1, java.lang.String aString2, Array anArray) throws java.lang.Exception
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.aString2
- String - the second message to write to the log.anArray
- Array - the collection to write to the log.public void trace(int type, java.lang.String aString1, java.lang.String aString2, java.lang.String aString3) throws java.lang.Exception
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.aString2
- String - the second message to write to the log.aString3
- String - the third message to write to the log.public void trace(int type, java.lang.String aString1, java.lang.String aString2, java.lang.String aString3, int int1, java.lang.String aString4) throws java.lang.Exception
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.aString2
- String - the second message to write to the log.aString3
- String - the third message to write to the log.int1
- int - the integer to write to the log.aString4
- String - the fourth message to write to the log.public void trace(int type, java.lang.String aString1, java.lang.String aString2, java.lang.String aString3, java.util.Vector aVector, java.lang.String aString4) throws java.lang.Exception
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.aString2
- String - the second message to write to the log.aString3
- String - the third message to write to the log.aVector
- Vector - the collection to write to the log.aString4
- String - the fourth message to write to the log.public void trace(int type, java.lang.String aString1, java.lang.String aString2, java.util.Vector aVector) throws java.lang.Exception
type
- int - the type of message being logged.aString1
- String - the first message to write to the log.aString2
- String - the second message to write to the log.aVector
- Vector - the collection to write to the log.public void trace(int type, java.lang.String aString, java.lang.Throwable anException) throws java.lang.Exception
type
- int - the type of message being logged.aString
- String - the message to write to the log.anException
- Throwable - the exception to write to the log.public void trace(int type, java.lang.String aString, java.util.Vector aVector) throws java.lang.Exception
type
- int - the type of message being logged.aString
- String - the message to write to the log.aVector
- Vector - the collection to write to the log.public void trace(int type, java.lang.String aString, boolean aBoolean) throws java.lang.Exception
type
- int - the type of message being logged.aString
- String - the string to write to the log.aBoolean
- boolean - the boolean to write to the log.public void trace(int type, java.lang.Throwable anException) throws java.lang.Exception
type
- int - the type of message being logged.anException
- Throwable - the exception to write to the log.public void trace(int type, java.util.Vector aVector) throws java.lang.Exception
type
- int - the type of message being logged.aVector
- Vector - the collection to write to the log.public void trace(int type, short aShort) throws java.lang.Exception
type
- int - the type of message being logged.aShort
- short - the short integer to write to the log.public void trace(int type, boolean aBoolean) throws java.lang.Exception
type
- int - the type of message being logged.aBoolean
- boolean - the boolean to write to the log.public void traceServletEntryOff()
public void traceServletEntryOn()
public void traceServletReturnOff()
public void traceServletReturnOn()
public void walkbackOff()
public void walkbackOn()
public void warning(java.lang.String aString)
aString
- String - the message to write to the log.public void warning(java.lang.String aString, java.lang.Throwable anException)
aString
- String - the message to write to the log.anException
- Throwable - the exception to write to the log.public void warning(java.lang.Throwable anException)
anException
- Throwable - the exception to write to the log.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |