Function

os_log_is_enabled

No overview available.

Declaration

bool os_log_is_enabled(os_log_t log);

See Also

Determining Whether Logging is Enabled

os_log_info_enabled

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

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software