---
title: type
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlfunctionlog/type
---

# type

The type of message that was logged.

## Declaration

```swift
var type: MTLFunctionLogType { get }
```

## See Also

### Getting the log messsage

- [MTLFunctionLogType](metal/mtlfunctionlogtype.md)
