Contents

init(subsystem:category:)

Creates a logger using the specified subsystem and category.

Declaration

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 Cfbundleidentifier.

  • category:

    The string that the system uses to categorize emitted signposts.

See Also

Creating a Logger