---
title: OSLogEntryLog.Level.error
framework: OSLog
role: symbol
role_heading: Case
platforms: [iOS 15.0+, iPadOS 15.0+, Mac Catalyst 15.0+, macOS 10.15+, tvOS 15.0+, visionOS 1.0+, watchOS 8.0+]
path: oslog/oslogentrylog/level-swift.enum/error
---

# OSLogEntryLog.Level.error

The log level that captures errors.

## Declaration

```swift
case error
```

## Discussion

Discussion This log level captures process-level information to report errors in the process.

## See Also

### Log Levels

- [OSLogEntryLog.Level.undefined](oslog/oslogentrylog/level-swift.enum/undefined.md)
- [OSLogEntryLog.Level.debug](oslog/oslogentrylog/level-swift.enum/debug.md)
- [OSLogEntryLog.Level.info](oslog/oslogentrylog/level-swift.enum/info.md)
- [OSLogEntryLog.Level.notice](oslog/oslogentrylog/level-swift.enum/notice.md)
- [OSLogEntryLog.Level.fault](oslog/oslogentrylog/level-swift.enum/fault.md)
