iOS Developer Library

Developer

UIALogger Class Reference

Options
Deployment Target:

On This Page

UIALogger

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


Not Applicable Not Applicable

Availability


Available in iOS 4.0 and later.

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.

  • Logs a message and indicates a test has completed unsuccessfully.

    Declaration

    JavaScript

    (undefined) logFail(String message)

    Availability

    Available in iOS 4.0 and later.

  • Logs a message and indicates a test has terminated abnormally.

    Declaration

    JavaScript

    (undefined) logIssue(String message)

    Parameters

    message

    A string containing the message to log.

    Availability

    Available in iOS 4.0 and later.

  • Logs a message and indicates a test has completed successfully.

    Declaration

    JavaScript

    (undefined) logPass(String message)

    Parameters

    message

    A string containing the message to log.

    Availability

    Available in iOS 4.0 and later.

  • Logs a message and indicates a test has started.

    Declaration

    JavaScript

    (undefined) logStart(String message)

    Parameters

    message

    A string containing the message to log.

    Availability

    Available in iOS 4.0 and later.

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

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

    Declaration

    JavaScript

    (undefined) logDebug(String message)

    Parameters

    message

    A string containing the message to log.

    Availability

    Available in iOS 4.0 and later.

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

    Declaration

    JavaScript

    (undefined) logError(String message)

    Parameters

    message

    A string containing the message to log.

    Availability

    Available in iOS 4.0 and later.

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

    Declaration

    JavaScript

    (undefined) logMessage(String message)

    Parameters

    message

    A string containing the message to log.

    Availability

    Available in iOS 4.0 and later.

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

    Declaration

    JavaScript

    (undefined) logWarning(String message)

    Parameters

    message

    A string containing the message to log.

    Availability

    Available in iOS 4.0 and later.