Macro

os_log_info_enabled

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

Declaration

#define os_log_info_enabled(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 info-level logging is enabled, otherwise NO.

See Also

Determining Whether Logging is Enabled

os_log_debug_enabled

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

os_log_type_enabled

Returns a Boolean value indicating whether a specific type of logging, such as default, info, debug, error, or fault, is enabled for a specified log object.