We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82896b6 commit eae6cdeCopy full SHA for eae6cde
README.md
@@ -24,11 +24,12 @@ During app startup/initialization:
24
import Logging
25
import LoggingOSLog
26
27
-/// Configure logging system to use OSLog logging backend
+/// Configure `swift-log` logging system to use OSLog backend
28
LoggingSystem.bootstrap(LoggingOSLog.init)
29
```
30
31
-Then:
+Then use `swift-log` [per usual](https://github.com/apple/swift-log#lets-log), for example:
32
+
33
```swift
34
let logger = Logger(label: "com.yourcompany.yourawesomeapp")
35
0 commit comments