mirror of
https://github.com/apple/swift-log
synced 2026-11-24 03:47:49 +00:00
Motivation: The syslog log level was unnatural in order (`.error` < `.info`) but also didn't have `.trace` and instead the odd `.emergency` and `.alert`. Modification: As per https://forums.swift.org/t/logging-levels-for-swifts-server-side-logging-apis-and-new-os-log-apis/20365/56 , we decided to go for trace < debug < info < notice < warning < error < critical and also remove the integrals completely. The levels remain comparable though. Result: log levels more natural