Skip to content

Commit

Permalink
Reword Using a UserDefaultsReporter section
Browse files Browse the repository at this point in the history
  • Loading branch information
raphkoebraam authored Apr 18, 2024
1 parent 9fac859 commit afdf516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func send(report: DiagnosticsReport) {
```

### Using a UserDefaultsReporter
In order to use `UserDefaultsReporter`, you need to set instantiate it with the desired `UserDefaults` instance together with all the keys you would like to read, and use it in `DiagnosticsReporter.create(filename:using:filters:smartInsightsProvider)` to create a `DiagnosticsReport`.
In order to use `UserDefaultsReporter`, you need to specify the desired `UserDefaults` instance together with all the keys you would like to read, and use it in `DiagnosticsReporter.create(filename:using:filters:smartInsightsProvider)` to create a `DiagnosticsReport`.

```swift
let userDefaultsReporter = UserDefaultsReporter(
Expand Down

0 comments on commit afdf516

Please sign in to comment.