Contents

error

The error log level.

Declaration

static let error: OSLogType

Discussion

Logging a message of this type is equivalent to calling the os_log_error function. Use this log level to report process-level errors.

The system always writes error-level messages to the data store. They remain in the store until its size exceeds its storage quota, at which point, the system purges the oldest messages in the store to free up space. If an activity object exists, logging at this level captures information for the entire process chain.

See Also

Getting Log Types