init(subsystem:category:)
Creates a signposter that uses the specified subsystem and system-defined log category.
Declaration
init(subsystem: String, category: OSLog.Category)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 Cfbundleidentifier.
- category:
The system-defined category, which the system uses to categorize emitted signposts. For possible values, see Category.