UIALogger Class Reference

Overview

The UIALogger class provides test and error information on retrieval functionality.

For an explanation of how to use this class and related classes, see “Automating UI Testing” in Instruments User Guide.

Tasks

Logging With Test Status

Logging With Severity Levels

These methods log a message and set a severity level to support filtering in the detail pane.

Methods

logDebug

Logs the specified message and sets the severity level to debug.

(undefined) logDebug(String message)
Parameters
message

A string containing the message to log.

logError

Logs the specified message and sets the severity level to error.

(undefined) logError(String message)
Parameters
message

A string containing the message to log.

logFail

Logs a message and indicates a test has completed unsuccessfully.

(undefined) logFail(String message)

logIssue

Logs a message and indicates a test has terminated abnormally.

(undefined) logIssue(String message)
Parameters
message

A string containing the message to log.

logMessage

Logs the specified message and sets the severity level to message.

(undefined) logMessage(String message)
Parameters
message

A string containing the message to log.

logPass

Logs a message and indicates a test has completed successfully.

(undefined) logPass(String message)
Parameters
message

A string containing the message to log.

logStart

Logs a message and indicates a test has started.

(undefined) logStart(String message)
Parameters
message

A string containing the message to log.

logWarning

Logs the specified message and sets the severity level to warning.

(undefined) logWarning(String message)
Parameters
message

A string containing the message to log.