-
Notifications
You must be signed in to change notification settings - Fork 316
Closed
Milestone
Description
In spite of #135 (comment), I think the was API actually broken in #135:
This:
@inlinable
public func debug(_ message: @autoclosure () -> Logger.Message,
metadata: @autoclosure () -> Logger.Metadata? = nil,
file: String = #file, function: String = #function, line: UInt = #line) {
...
}
...is not the same as:
@inlinable
public func debug(_ message: @autoclosure () -> Logger.Message,
metadata: @autoclosure () -> Logger.Metadata? = nil,
source: @autoclosure () -> String? = nil,
file: String = #file, function: String = #function, line: UInt = #line) {
...
}
We need to retain the old function signatures in addition to the new ones and just forward the implementation from the old to the new.
Metadata
Metadata
Assignees
Labels
No labels