---
title: "logHandle(category:)"
framework: metrickit
role: symbol
role_heading: Type Method
path: "metrickit/metricmanager/loghandle(category:)"
---

# logHandle(category:)

Returns an OSLog handle for creating custom signpost metrics that MetricKit aggregates.

## Declaration

```swift
static func logHandle(category: String) -> OSLog
```

## Mentioned in

Monitoring app performance with MetricKit

## Discussion

Discussion The method signature and return type are identical; only the type name changes. let log = MetricManager.logHandle(category: "rendering") This method replaces makeLogHandle(category:).
