Sends a fault-level message to the logging system.
- iOS 10.0+
- macOS 10.12+
- UIKit for Mac 13.0+Beta
- tvOS 10.0+
- watchOS 3.0+
Fault-level messages sent by this function are always saved in the data store. They remain there until the storage quota is exceeded, at which point, the oldest messages are purged. Fault-level messages are intended for capturing system-level or multi-process errors only. If an activity object exists, logging at this level captures information for the entire process chain.
Calling this function is equivalent to calling the os_log_with_type function and specifying a log type of
OS. Note that lengthy log messages may be truncated when stored by the logging system.