From ed3ef8fd8419bf0d599ed979c5ae756b8fbac06b Mon Sep 17 00:00:00 2001 From: Arthur Semenyutin Date: Thu, 25 Feb 2021 20:46:41 +1100 Subject: [PATCH] Update code example --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 808741bb6..a8b446832 100644 --- a/README.md +++ b/README.md @@ -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 ```