Activity Tracing

Log trace messages to an auto-generated ring buffer while associating them with the originating user action.

Overview

Finding and diagnosing bugs in your app can be difficult. The Activity Tracing APIs provide a mechanism for grouping and labeling work that's done in response to user interactions or other events, so that you may easily determine the underlying cause of a crash.

Topics

Generating Trace Messages

func os_trace_debug_enabled() -> Bool

Returns whether debug level trace information is enabled.

Deprecated
func os_trace_info_enabled() -> Bool

Returns whether info level trace information is enabled.

Deprecated
func os_trace_type_enabled(UInt8) -> Bool

Returns whether the specified info level trace information is enabled.

Deprecated

See Also

Logs

Logging

Efficiently capture log messages to memory and disk. Manage logging behavior and persistence.