Skip to content

Commit

Permalink
Merge pull request #9 from vox-humana/patch-1
Browse files Browse the repository at this point in the history
Update code example
  • Loading branch information
kean authored Feb 25, 2021
2 parents 4114c5a + ed3ef8f commit dbb01ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ Pulse supports logging [`URLSession`](https://developer.apple.com/documentation/
All logged messages are stored persistently using Core Data, including metadata and other information. You get full access to all of the recorded messages at any time using `LoggerMessageStore`.

```swift
let message = try LoggerMessageStore.default.allMessage()
let messages = try LoggerMessageStore.default.allMessages()

// NSPersistentStoreContainer
let container = logger.store.container
// NSPersistentContainer
let container = LoggerMessageStore.default.container
```

<br/>
Expand Down

0 comments on commit dbb01ab

Please sign in to comment.