Class

OSLogMessageComponent

The message arguments for a particular entry.

Declaration

@interface OSLogMessageComponent : NSObject

Overview

There is one component for each placeholder in the formatString plus one component for any text after the last placeholder.

Topics

Reading the Argument

argumentCategory

The type of argument that corresponds to the placeholder.

OSLogMessageComponentArgumentCategory

The data type corresponding to the argument provided in a message payload.

Reading the Message Component

formatSubstring

The text immediately preceding a placeholder.

placeholder

The placeholder text for the message component.

Accessing the Argument

argumentDataValue

The argument formatted as a sequence of bytes.

argumentDoubleValue

The argument formatted as a double.

argumentInt64Value

The argument formatted as a signed 64-bit integer.

argumentNumberValue

The argument formatted as a number.

argumentStringValue

The argument formatted as a string.

argumentUInt64Value

The argument formatted as an unsigned 64-bit integer.

Relationships

Inherits From

See Also

Entry Data

OSLogPosition

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