mirror of
https://github.com/apple/swift-log
synced 2026-11-29 04:14:22 +00:00
Update README.md (#233)
This commit is contained in:
1 parent
ce09fe6dac
commit
f7b7977065
1 file changed
+1
-1
@@ -157,7 +157,7 @@ A `LogHandler` or logging backend implementation is anything that conforms to th
|
||||
|
||||
```swift
|
||||
public protocol LogHandler {
|
||||
func log(level: Logger.Level, message: Logger.Message, metadata: Logger.Metadata?, file: String, function: String, line: UInt)
|
||||
func log(level: Logger.Level, message: Logger.Message, metadata: Logger.Metadata?, source: String, file: String, function: String, line: UInt)
|
||||
|
||||
subscript(metadataKey _: String) -> Logger.Metadata.Value? { get set }
|
||||
|
||||
|
||||
Reference in new issue
Block a user