<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "os",
  "identifier" : "/documentation/os/os_signpost_emit_with_type",
  "metadataVersion" : "0.1.0",
  "role" : "Macro",
  "symbol" : {
    "kind" : "Macro",
    "modules" : [
      "os"
    ],
    "preciseIdentifier" : "c:@macro@os_signpost_emit_with_type"
  },
  "title" : "os_signpost_emit_with_type"
}
-->

# os_signpost_emit_with_type

Logs a point of interest in your code as a time interval or as an event for debugging performance in Instruments.

```
#define os_signpost_emit_with_type(log, type, spid, name, ...)
```

## Parameters

`log`

A log object to log the signpost to.

`type`

The type of signpost to log.

`spid`

A signpost identifier used to disambiguate between signposts with the same name.

`name`

The name of the signpost.

`…`

Optional. If specified, provide a format string, followed by the expected number of arguments in the order that they appear in the string.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)