Merge pull request #746 from francoishill/patch-11
To match with logs/log.go (and RFC 5424 specs)
Showing
1 changed file
with
7 additions
and
5 deletions
| ... | @@ -17,12 +17,14 @@ import ( | ... | @@ -17,12 +17,14 @@ import ( |
| 17 | 17 | ||
| 18 | // Log levels to control the logging output. | 18 | // Log levels to control the logging output. |
| 19 | const ( | 19 | const ( |
| 20 | LevelTrace = iota | 20 | LevelEmergency = iota |
| 21 | LevelDebug | 21 | LevelAlert |
| 22 | LevelInfo | ||
| 23 | LevelWarning | ||
| 24 | LevelError | ||
| 25 | LevelCritical | 22 | LevelCritical |
| 23 | LevelError | ||
| 24 | LevelWarning | ||
| 25 | LevelNotice | ||
| 26 | LevelInformational | ||
| 27 | LevelDebug | ||
| 26 | ) | 28 | ) |
| 27 | 29 | ||
| 28 | // SetLogLevel sets the global log level used by the simple | 30 | // SetLogLevel sets the global log level used by the simple | ... | ... |
-
Please register or sign in to post a comment