---
title: "init(subsystem:category:)"
framework: os
role: symbol
role_heading: Initializer
path: "os/ossignposter/init(subsystem:category:)-94xpb"
---

# init(subsystem:category:)

Creates a signposter that uses the specified subsystem and category.

## Declaration

```swift
init(subsystem: String, category: String)
```

## Parameters

- `subsystem`: The string that identifies the subsystem that emits signposts. Typically, you use the same value as your app’s bundle ID. For more information, see doc://com.apple.documentation/documentation/BundleResources/Information-Property-List/CFBundleIdentifier.
- `category`: The string that the system uses to categorize emitted signposts.

## See Also

### Creating a Signposter

- [init()](os/ossignposter/init().md)
- [init(subsystem:category:)](os/ossignposter/init(subsystem:category:)-4vdri.md)
- [init(logger:)](os/ossignposter/init(logger:).md)
- [init(logHandle:)](os/ossignposter/init(loghandle:).md)
- [disabled](os/ossignposter/disabled.md)
