<!--
{
  "availability" : [
    "iOS: 15.0 -",
    "iPadOS: 15.0 -",
    "macCatalyst: 15.0 -",
    "macOS: 10.15 -",
    "tvOS: 15.0 -",
    "visionOS: 1.0 -",
    "watchOS: 8.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "OSLog",
  "identifier" : "/documentation/OSLog",
  "metadataVersion" : "0.1.0",
  "role" : "Framework",
  "symbol" : {
    "kind" : "Framework",
    "modules" : [
      "OSLog"
    ],
    "preciseIdentifier" : "OSLog"
  },
  "title" : "OSLog"
}
-->

# 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 <doc://com.apple.documentation/documentation/os/logging>.

## Topics

### Read Log Entries

[`OSLogStore`](/documentation/OSLog/OSLogStore)

A set of entries from the unified logging system.

[`OSLogEnumerator`](/documentation/OSLog/OSLogEnumerator)

An enumerator that can access and list log entries.

### Log Entries

[`OSLogEntry`](/documentation/OSLog/OSLogEntry)

A single entry from the unified logging system.

[`OSLogEntryActivity`](/documentation/OSLog/OSLogEntryActivity)

An entry generated by an activity event.

[`OSLogEntryBoundary`](/documentation/OSLog/OSLogEntryBoundary)

The metadata that partitions sequences of other entries.

[`OSLogEntryLog`](/documentation/OSLog/OSLogEntryLog)

A log entry.

[`OSLogEntrySignpost`](/documentation/OSLog/OSLogEntrySignpost)

An entry containing a signpost.

[`OSLogEntryFromProcess`](/documentation/OSLog/OSLogEntryFromProcess)

A protocol that defines subclasses containing metadata about a process.

[`OSLogEntryWithPayload`](/documentation/OSLog/OSLogEntryWithPayload)

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

### Entry Data

[`OSLogMessageComponent`](/documentation/OSLog/OSLogMessageComponent)

The message arguments for a particular entry.

[`OSLogPosition`](/documentation/OSLog/OSLogPosition)

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

### Reference

[OSLog Enumerations](/documentation/OSLog/oslog-enumerations)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)