public class ScriptLogger
extends java.lang.Object
log
variable.Constructor and Description |
---|
ScriptLogger() |
Modifier and Type | Method and Description |
---|---|
void |
debug(java.lang.Object message)
Print a debug message to the event.log file.
|
void |
debug(java.lang.Object message,
java.lang.Throwable throwable)
Print a debug message to the event.log file with
a stack trace.
|
void |
error(java.lang.Object message)
Print an error message to the event.log file.
|
void |
error(java.lang.Object message,
java.lang.Throwable throwable)
Print an error message to the event.log file with
a stack trace.
|
void |
info(java.lang.Object message)
Print an informational message to the event.log file.
|
void |
info(java.lang.Object message,
java.lang.Throwable throwable)
Print an informational message to the event.log file with
a stack trace.
|
void |
logMessage(java.lang.String message)
Logs an informational message.
|
void |
logMessage(java.lang.Throwable throwable)
Logs a stack trace for an exception.
|
void |
warn(java.lang.Object message)
Print a warning message to the event.log file.
|
void |
warn(java.lang.Object message,
java.lang.Throwable throwable)
Print a warning message to the event.log file with
a stack trace.
|
public void logMessage(java.lang.String message)
message
- the message to log.public void logMessage(java.lang.Throwable throwable)
throwable
- the exception to print.public void info(java.lang.Object message)
message
- the message to print.public void info(java.lang.Object message, java.lang.Throwable throwable)
message
- the message to print.throwable
- the exception to print.public void warn(java.lang.Object message)
message
- the message to print.public void warn(java.lang.Object message, java.lang.Throwable throwable)
message
- the message to print.throwable
- the exception to print.public void debug(java.lang.Object message)
message
- the message to print.public void debug(java.lang.Object message, java.lang.Throwable throwable)
message
- the message to print.throwable
- the exception to print.public void error(java.lang.Object message)
message
- the message to print.public void error(java.lang.Object message, java.lang.Throwable throwable)
message
- the message to print.throwable
- the exception to print.© Copyright IBM Corporation 2000, 2009
US Government Users Restricted Rights--Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Notices