We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee3b5ee commit 4c8d11eCopy full SHA for 4c8d11e
1 file changed
README.md
@@ -104,6 +104,16 @@ TemporaryImageCache.shared.setCacheLimit(
104
)
105
```
106
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
117
## Requirements
118
- iOS 14.0 +
119
- [SwiftUI](https://developer.apple.com/xcode/swiftui/)
0 commit comments