Instance Method

position(date:)

Returns a position representing the time specified.

Declaration

func position(date: Date) -> OSLogPosition

Discussion

If there are multiple occurrences of the same time, the method returns the earliest occurrence.

See Also

Accessing Position

func position(timeIntervalSinceEnd: TimeInterval) -> OSLogPosition

Returns a position representing time since the end of the time range that the entries span.

func position(timeIntervalSinceLatestBoot: TimeInterval) -> OSLogPosition

Returns a position representing time since the last boot in the series of entries.