mirror of
https://github.com/apple/swift-log
synced 2026-11-24 03:47:49 +00:00
Add a Best Practice guide on how to test logging. ### Motivation: There are 2 recommended ways of propagating logs in components, both are testable. But there is no any kind of documentation on how to do it. ### Modifications: Add a "Testing code that logs" Best Practice guide. ### Result: Logs testing is now documented. --------- Co-authored-by: Joseph Heck <j_heck@apple.com>