iOS Developer Library

Developer

UIALogger Class Reference

Options
Deployment Target:

On This Page

UIALogger

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

    (undefined) logFail(String message)

    Availability

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

    Declaration

    (undefined) logIssue(String message)

    Parameters

    message

    A string containing the message to log.

    Availability

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

    Declaration

    (undefined) logPass(String message)

    Parameters

    message

    A string containing the message to log.

    Availability

  • Logs a message and indicates a test has started.

    Declaration

    (undefined) logStart(String message)

    Parameters

    message

    A string containing the message to log.

    Availability

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

    (undefined) logDebug(String message)

    Parameters

    message

    A string containing the message to log.

    Availability

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

    Declaration

    (undefined) logError(String message)

    Parameters

    message

    A string containing the message to log.

    Availability

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

    Declaration

    (undefined) logMessage(String message)

    Parameters

    message

    A string containing the message to log.

    Availability

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

    Declaration

    (undefined) logWarning(String message)

    Parameters

    message

    A string containing the message to log.

    Availability