---
title: MTLLogContainer
framework: metal
role: symbol
role_heading: Structure
path: metal/mtllogcontainer-swift.struct
---

# MTLLogContainer

A collection of logged messages, created when a Metal device runs a command buffer.

## Declaration

```swift
struct MTLLogContainer
```

## Overview

Overview Enumerate a log container object to get a list of MTLFunctionLog instances.

## Relationships

### Conforms To

- [Sequence](swift/sequence.md)

## See Also

### Shader logs

- [MTLFunctionLog](metal/mtlfunctionlog.md)
