|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISimpleLog
The log interface containing the base-level log static values and methods.
| Field Summary | |
|---|---|
static int |
DISABLE_LOGGING
The filter level for logging to disable all logging |
static int |
EVENT_APPLICATION_END
The event indicator for an application-end message. |
static int |
EVENT_APPLICATION_START
The event indicator for an application-start message. |
static int |
EVENT_APPLICATON_ACTION
The event indicator for an action performed on the application under test |
static int |
EVENT_CALL_SCRIPT
The event indicator for a call-script message. |
static int |
EVENT_CONFIGURATION
The event indicator for a configuration message. |
static int |
EVENT_GENERAL
The event indicator for a general log message message. |
static int |
EVENT_SCRIPT_END
The event indicator for a script-end message. |
static int |
EVENT_SCRIPT_START
The event indicator for a script-start message. |
static int |
EVENT_TIMER_END
The event indicator for a timer-end message. |
static int |
EVENT_TIMER_START
The event indicator for a timer-start message. |
static int |
EVENT_VP
The event indicator for a verification-point message. |
static int |
LOG_DISABLE_GUI_ACTION
The filter level to disable logging of all GUI actions. |
static int |
LOG_ENABLE_GUI_ACTION
The filter level to log all GUI actions. |
static int |
LOG_FAILURE
The status indicator used to flag a failure message. |
static int |
LOG_FAILURES
The filter level for logging to log all failures. |
static int |
LOG_FAILURES_WARNINGS
The filter level for logging to log all failures and warnings |
static int |
LOG_FAILURES_WARNINGS_PASS
The filter level for logging to log all failures, warnings and pass results |
static int |
LOG_FAILURES_WARNINGS_PASS_INFO
The filter level for logging to log all. |
static int |
LOG_INFORMATION
The status indicator used to flag an information message. |
static int |
LOG_PASS
The status indicator used to flag a success message. |
static int |
LOG_WARNING
The status indicator used to flag a warning message. |
| Method Summary | |
|---|---|
void |
close()
Closes the log, thereby releasing any resources. |
ILogMessage |
createMessage()
Creates an instance of a log message. |
ILogMessage |
createMessage(int resultCode, int eventCode, java.lang.String headline)
Creates an instance of a log message specifying the status, event, and note. |
void |
open()
Opens the log. |
boolean |
openLogViewer()
The function to open the viewer for the log. |
void |
write(ILogMessage message)
Writes a message into the log. |
void |
write(int resultCode, int eventCode, java.lang.String note)
Writes a simple message into the log file. |
| Field Detail |
|---|
static final int LOG_FAILURE
static final int LOG_WARNING
static final int LOG_PASS
static final int LOG_INFORMATION
static final int EVENT_SCRIPT_START
static final int EVENT_SCRIPT_END
static final int EVENT_VP
static final int EVENT_CALL_SCRIPT
static final int EVENT_APPLICATION_START
static final int EVENT_APPLICATION_END
static final int EVENT_TIMER_START
static final int EVENT_TIMER_END
static final int EVENT_CONFIGURATION
static final int EVENT_GENERAL
static final int EVENT_APPLICATON_ACTION
static final int DISABLE_LOGGING
static final int LOG_FAILURES
static final int LOG_FAILURES_WARNINGS
static final int LOG_FAILURES_WARNINGS_PASS
static final int LOG_FAILURES_WARNINGS_PASS_INFO
static final int LOG_ENABLE_GUI_ACTION
static final int LOG_DISABLE_GUI_ACTION
| Method Detail |
|---|
void open()
void close()
void write(int resultCode, int eventCode, java.lang.String note)
resultCode - One of the LOG_ codeseventCode - One of the EVENT_ codesnote - Simple (one line) description of the message being specifiedLOG_FAILURE,
LOG_PASS,
LOG_WARNING,
LOG_INFORMATION,
EVENT_SCRIPT_START,
EVENT_SCRIPT_END,
EVENT_VP,
EVENT_CALL_SCRIPT,
EVENT_APPLICATION_START,
EVENT_APPLICATION_END,
EVENT_TIMER_START,
EVENT_TIMER_END,
EVENT_CONFIGURATION,
EVENT_GENERALvoid write(ILogMessage message)
ILogMessage enables more detailed information to be written into the log file (that is, name/value pairs).
message - The message (that is, resultCode, eventCode,
note, and details)LOG_FAILURE,
LOG_PASS,
LOG_WARNING,
LOG_INFORMATION,
EVENT_SCRIPT_START,
EVENT_SCRIPT_END,
EVENT_VP,
EVENT_CALL_SCRIPT,
EVENT_APPLICATION_START,
EVENT_APPLICATION_END,
EVENT_TIMER_START,
EVENT_TIMER_END,
EVENT_CONFIGURATION,
EVENT_GENERALILogMessage createMessage()
ILogMessage enables more
detailed information to be written to the log file (that is, name/value pairs)
ILogMessage createMessage(int resultCode, int eventCode, java.lang.String headline)
ILogMessage enables more detailed information to be written to the log
file.
resultCode - One of the LOG_ codeseventCode - One of the EVENT_ codesheadline - Simple (one line) description of the message being specifiedboolean openLogViewer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||