Contents

makeSignpostID()

Returns an identifier that’s unique within the scope of the signposter.

Declaration

func makeSignpostID() -> OSSignpostID

Mentioned in

Return Value

A signpost ID that you use to match an interval’s signposts.

Discussion

The signposter uses a signpost ID to pair the beginning and the end of a signposted interval, which is necessary because multiple intervals with the same configuration and scope can be in-flight simultaneously.

Use this method instead of init(log:).

See Also

Generating Signpost IDs