makeSignpostID(from:)
Returns an identifier that the signposter derives from the specified object.
Declaration
func makeSignpostID(from object: AnyObject) -> OSSignpostIDParameters
- object:
The object the signposter uses to match the begin and end calls of a signposted interval.
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:object:).