Function

os_log_debug_enabled

Returns a Boolean value indicating whether debug-level logging is enabled for a specified log object.

Declaration

bool os_log_debug_enabled(os_log_t log);

Parameters

log

The OS_LOG_DEFAULT constant or a custom log object previously created by the os_log_create function.

Return Value

YES if debug-level logging is enabled, otherwise NO.

See Also