apple / swift-log

A Logging API for Swift
https://apple.github.io/swift-log/
Apache License 2.0
3.54k stars 294 forks source link

Handle providers properly in multiplex log handler #254

Closed ktoso closed 1 year ago

ktoso commented 1 year ago

Resolves https://github.com/apple/swift-log/issues/253

The handling is a bit tricky, but we uphold reasonable semantics now. We could cache the calculation a bit more perhaps rather than each time in the get{} but this has the right semantics at least.

ktoso commented 1 year ago

Please have a look @slashmo