mirror of
https://github.com/apple/swift-log
synced 2026-11-24 03:47:49 +00:00
Motivation: The stream log handler doesn't print metadata in a stable order. While swift-log is an API package and shouldn't provide all the bells and whistles for formatting logs, it should make the default log handler at least somewhat sensible. Modifications: - Sort the metadata by key when 'prettifying' it Result: - The stream log handler emits logs with metadata in a stable order - Resolves #128