I mostly agree with @ktoso comment:
- +1 for syslog as baseline
- +1 for adding levels above error
- +1 for adding
Trace
Things I'd like to add:
-
Description for
Trace
: “Messages that might to be useful when searching hard to track bugs. This is purely opt-in, it is disabled by default even in standard debug builds. (E.g. Things like Entering/Leaving function)” -
Naming of the levels: What's worse, an alerting situation or a critical situation?
- Rename
Alert
toFatal
: Alerts are dialogs that users ignore. This does not fit here. - Rename
Emergency
toPanic
: Kernel-panics are well known and this is the equivalent.
- Rename