mirror of
https://github.com/apple/swift-log
synced 2026-11-23 03:44:22 +00:00
Motivation: - When `source:` was added in #135, the API was accidentally broken despite source compatability. Modifications: - Add back source-less API calls which defer to the decls with source. - Note we can't deprecate the calls we're adding back: `log.info("some message")` refers to the implementation we're adding back rather and would therefore require users to explicitly specify a source to suppress the deprecation warning message. Result: - API is no longer broken. Co-authored-by: Konrad `ktoso` Malawski <ktoso@apple.com>