Closed ianpartridge closed 5 years ago
@weissi is there anything else I need to do to this?
@ianpartridge want me to merge this or are we waiting on https://forums.swift.org/t/logging-levels-for-swifts-server-side-logging-apis-and-new-os-log-apis/20365/11 which looks like syslog log levels?
I totally missed that thread - it wasn't posted in the "server" category... Let me go read...
I totally missed that thread - it wasn't posted in the "server" category... Let me go read...
I know it's confusing because the previous discussions where in the server category but it's for os_log
& the server API, therefore Ravi posted in the general category.
OK I'm fine with syslog levels if this will improve interoperability. I do think there's value in the additional "trace = 8" level but we can handle that separately.
I think we should probably close this PR?
There is consensus on the forum that we should add an extra logging level above
error
. Possible names for this includefatal
orfault
.Add a
fault
log level. This name is chosen for consistency withos_log()
which is already used in the Swift ecosystem.