mirror of
https://github.com/apple/swift-log
synced 2026-11-25 03:57:48 +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>