Contents

init(subsystem:category:name:)

Creates a metric to record a specific signpost.

Declaration

init(subsystem: String, category: String, name: String)

Parameters

  • subsystem:

    The Oslog subsystem that logs the signpost events.

  • category:

    The log category for the logged signpost events.

  • name:

    The name of the signpost.

Discussion

Create an XCTOSSignpostMetric that records the time that elapses between the beginning and end of the named signpost in a particular log subsystem and category.