Type Method

makeLogHandle(category:)

Returns a log handle used for writing custom metric events.

Declaration

class func makeLogHandle(category: String) -> OSLog

Parameters

category

A developer-specified string containing the name of the category of custom metrics written to the log.

Return Value

A customized OSLog object used for writing custom metrics of the same category.

Discussion

The object returned by this method saves only custom signpost metrics. Other kinds of os_log messages aren’t persisted.

See Also