DEV Community

Malik Benkirane
Malik Benkirane

Posted on

Log Levels as in RFC5424

Level Severity
0 Emergency: system is unusable
1 Alert: action must be taken immediately
2 Critical: critical conditions
3 Error: error conditions
4 Warning: warning conditions
5 Notice: normal but significant condition
6 Informational: informational messages
7 Debug: debug-level messages

source: RFC5424 / 6.2.1. PRI

Also try go doc go.uber.org/zap/zapcore

Top comments (0)