mirror of
https://github.com/apple/swift-log
synced 2026-11-26 04:07:49 +00:00
1 parent
ef8cc5a5d5
commit
e65117937a
1 file changed
+1
-1
@@ -119,7 +119,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: StaticString, function: StaticString, line: UInt)
|
||||
func log(level: Logger.Level, message: Logger.Message, metadata: Logger.Metadata?, file: String, function: String, line: UInt)
|
||||
|
||||
subscript(metadataKey _: String) -> Logger.Metadata.Value? { get set }
|
||||
|
||||
|
||||
Reference in new issue
Block a user