---
title: OSLogEntryLog.Level.debug
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/debug
---

# OSLogEntryLog.Level.debug

A log level that captures diagnostic information.

## Declaration

```swift
case debug
```

## Discussion

Discussion This level captures information that may be useful during development or while troubleshooting a specific problem.

## See Also

### Log Levels

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