Skip to content

Commit eae6cde

Browse files
committed
README: clarify that logging usage is standard per swift-log
1 parent 82896b6 commit eae6cde

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ During app startup/initialization:
2424
import Logging
2525
import LoggingOSLog
2626

27-
/// Configure logging system to use OSLog logging backend
27+
/// Configure `swift-log` logging system to use OSLog backend
2828
LoggingSystem.bootstrap(LoggingOSLog.init)
2929
```
3030

31-
Then:
31+
Then use `swift-log` [per usual](https://github.com/apple/swift-log#lets-log), for example:
32+
3233
```swift
3334
let logger = Logger(label: "com.yourcompany.yourawesomeapp")
3435

0 commit comments

Comments
 (0)