---
title: OSLogEnumerator
framework: OSLog
role: symbol
role_heading: Class
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/oslogenumerator
---

# OSLogEnumerator

An enumerator that can access and list log entries.

## Declaration

```swift
class OSLogEnumerator
```

## Topics

### Enumerator Options

- [OSLogEnumerator.Options](oslog/oslogenumerator/options.md)

## Relationships

### Inherits From

- [NSEnumerator](foundation/nsenumerator.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSFastEnumeration](foundation/nsfastenumeration.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [Sequence](swift/sequence.md)

## See Also

### Read Log Entries

- [OSLogStore](oslog/oslogstore.md)
