Framework

OSLog

A unified logging system for the reading of historical data.

Overview

The OSLog framework allows you to read logs. With the unified logging system, you can build custom debugging and analysis tools to be used alongside Apple tools like Instruments and Console. To learn more about how to create logs, see Logging.

Topics

Read Log Entries

OSLogStore

A set of entries from the unified logging system.

OSLogEnumerator

An enumerator that can access and list log entries.

Log Entries

OSLogEntry

A single entry from the unified logging system.

OSLogEntryActivity

An entry generated by an activity event.

OSLogEntryBoundary

The metadata that partitions sequences of other entries.

OSLogEntryLog

A log entry.

OSLogEntrySignpost

An entry containing a signpost.

OSLogEntryFromProcess

A protocol that defines subclasses containing metadata about a process.

OSLogEntryWithPayload

A protocol defining subclasses that represent entries made using a handle and a format string.

Entry Data

OSLogMessageComponent

The message arguments for a particular entry.

OSLogPosition

A representation of a point in a sequence of entries in the unified logging system.