---
title: "makeLogHandle(category:)"
framework: metrickit
role: symbol
role_heading: Type Method
path: "metrickit/mxmetricmanager/makeloghandle(category:)"
---

# makeLogHandle(category:)

Returns a log handle used for writing custom metric events.

## Declaration

```swift
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

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

## Discussion

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