<!--
{
  "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/OSLogEntry",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "OSLog"
    ],
    "preciseIdentifier" : "c:objc(cs)OSLogEntry"
  },
  "title" : "OSLogEntry"
}
-->

# OSLogEntry

A single entry from the unified logging system.

```
class OSLogEntry
```

## Topics

### Accessing Log Entry Data

[`composedMessage`](/documentation/OSLog/OSLogEntry/composedMessage)

The fully formatted message for the entry.

[`date`](/documentation/OSLog/OSLogEntry/date)

The timestamp of the entry.

### Accessing Store Categories

[`storeCategory`](/documentation/OSLog/OSLogEntry/storeCategory-swift.property)

The current log entry’s storage tag.

[`StoreCategory`](/documentation/OSLog/OSLogEntry/StoreCategory-swift.enum)

A classification of how the entry was to be stored and rotated at the point when it was created.

## Relationships

### Conforms To

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

[`Escapable`](/documentation/Swift/Escapable)

[`Hashable`](/documentation/Swift/Hashable)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Copyable`](/documentation/Swift/Copyable)

### Inherited By

[`OSLogEntryBoundary`](/documentation/OSLog/OSLogEntryBoundary)

[`OSLogEntryActivity`](/documentation/OSLog/OSLogEntryActivity)

[`OSLogEntrySignpost`](/documentation/OSLog/OSLogEntrySignpost)

[`OSLogEntryLog`](/documentation/OSLog/OSLogEntryLog)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)