Skip to content

Commit 4c8d11e

Browse files
committed
Update README.md
1 parent ee3b5ee commit 4c8d11e

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,16 @@ TemporaryImageCache.shared.setCacheLimit(
104104
)
105105
```
106106

107+
### Set logger if needed
108+
**Note:** The default logger level `min`, only error messages are logged to the Xcode console.
109+
110+
```swift
111+
// Level `min`, only error messages are logged to the Xcode console.
112+
// Level `max`, all messages are logged to the Xcode console.
113+
CachedAsyncImageConfiguration.shared.setLogger(with: .max)
114+
```
115+
116+
107117
## Requirements
108118
- iOS 14.0 +
109119
- [SwiftUI](https://developer.apple.com/xcode/swiftui/)

0 commit comments

Comments
 (0)