|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.telelogic.cs.api.ScriptLogger
public class ScriptLogger
Allows scripts to write to the event.log.
Passed as the BSF log
variable.
Constructor Summary | |
---|---|
ScriptLogger()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScriptLogger()
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |