Browse Source

Update README.md (#233)

Ruslan Kavetsky 2 years ago
parent
commit
f7b7977065
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -157,7 +157,7 @@ A `LogHandler` or logging backend implementation is anything that conforms to th
 
 
 ```swift
 ```swift
 public protocol LogHandler {
 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 }
     subscript(metadataKey _: String) -> Logger.Metadata.Value? { get set }