Contents

OSLogStore

A set of entries from the unified logging system.

Declaration

class OSLogStore

Overview

Instances of this class represent a fixed range of entries and may be backed by a logarchive or your Mac’s local store.

In Swift, Use the getEntries(with:at:matching:) function to retrieve a filtered array of log entries.

In Objective-C, use instances of this class to create OSLogEnumerator objects. One store can support multiple OSLogEnumerator instances concurrently.

Topics

Creating Log Stores

Accessing Position

Accessing Entries

Initializers

Enumerations

See Also

Read Log Entries