mirror of
https://github.com/apple/swift-log
synced 2026-11-24 03:47:49 +00:00
Add tests for SwiftLogNoOpLogHandler ### Motivation: `SwiftLogNoOpLogHandler` is a public type with no dedicated test coverage. ### Modifications: * Add tests for both initialisers, `logLevel`, `metadata`, the metadata subscript, `log(event:)`, and end-to-end usage via `Logger`. ### Result: `SwiftLogNoOpLogHandler` has test coverage on par with other handlers. Coverage from 89% over all tests, to 90%.