Function

os_trace_info_enabled()

Returns whether info level trace information is enabled.

Declaration

func os_trace_info_enabled() -> Bool

Discussion

Generally, trace points should not involve expensive operations, however some circumstances warrant it. Use this function to do expensive work only when info level trace messages are enabled.

See Also

Generating Trace Messages

func os_trace_debug_enabled() -> Bool

Returns whether debug level trace information is enabled.

Deprecated
func os_trace_type_enabled(UInt8) -> Bool

Returns whether the specified info level trace information is enabled.

Deprecated