Crate objc2_os_log

Source
Expand description

§Bindings to the OSLog framework

See Apple’s docs and the general docs on framework crates for more information.

Structs§

OSLogEntry
A single entry from the unified logging system.
OSLogEntryActivity
An entry generated by an activity event.
OSLogEntryBoundary
This entry represents metadata that partitions sequences of other entries.
OSLogEntryLog
Entries made by the os_log API.
OSLogEntryLogLevel
The level that this entry was generated at.
OSLogEntrySignpost
Entries made by the os_signpost API.
OSLogEntrySignpostType
The kind of of signpost emitted.
OSLogEntryStoreCategory
A classification of how the entry was to be stored and rotated at the point when it was created.
OSLogEnumerator
An enumerator that views entries in the unified logging system.
OSLogEnumeratorOptions
Control the direction of the iteration.
OSLogMessageComponent
The message arguments for a particular entry. There is one component for each placeholder in the formatString plus one component for any text after the last placeholder.
OSLogMessageComponentArgumentCategory
The kind of data corresponding to an argument in a message payload, like the number associated with a “%d” placeholder. This value can be undefined if the argument data cannot be decoded; for example, it may be redacted.
OSLogPosition
An opaque abstraction representing a point in a sequence of entries in the unified logging system.
OSLogStore
A set of entries from the unified logging system. Instances represent a fixed range of entries and may be backed by a logarchive or the Mac’s local store.
OSLogStoreScope
Create a store to a subset of the libtrace entries.

Traits§

OSLogEntryFromProcess
Entry subclasses conforming to this protocol represent data that are generated from a process; they have metadata about the originator.
OSLogEntryWithPayload
Entry subclasses conforming to this protocol represent entries that were made using a handle and a format string.