---
title: "makeSignpostID(from:)"
framework: os
role: symbol
role_heading: Instance Method
path: "os/ossignposter/makesignpostid(from:)"
---

# makeSignpostID(from:)

Returns an identifier that the signposter derives from the specified object.

## Declaration

```swift
func makeSignpostID(from object: AnyObject) -> OSSignpostID
```

## Parameters

- `object`: The object the signposter uses to match the begin and end calls of a signposted interval.

## Return Value

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

## Discussion

Discussion warning: Don’t use this method to generate an identifier for a signposted interval that crosses process boundaries. Instead, use the makeSignpostID() method. 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:).

## See Also

### Generating Signpost IDs

- [makeSignpostID()](os/ossignposter/makesignpostid().md)
- [OSSignpostID](os/ossignpostid.md)
