<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "OSLog",
  "identifier" : "/documentation/OSLog/OSLogEntryLog",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "OSLog"
    ],
    "preciseIdentifier" : "c:objc(cs)OSLogEntryLog"
  },
  "title" : "OSLogEntryLog"
}
-->

# OSLogEntryLog

A log entry.

```
class OSLogEntryLog
```

## Overview

These log entries are generated by the os_log API. To learn more about how to generate a log entry, see <doc://com.apple.documentation/documentation/os/os_log(_:dso:log:_:_:)> and <doc://com.apple.documentation/documentation/os/os_log(_:dso:log:type:_:)>.

## Topics

### Accessing Log Levels

[`level`](/documentation/OSLog/OSLogEntryLog/level-swift.property)

The log level of the entry.

[`OSLogEntryLog.Level`](/documentation/OSLog/OSLogEntryLog/Level-swift.enum)

The log level at which the entry was generated.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)