Comment log levels.
This commit is contained in:
parent
2695ae1b21
commit
852a968873
1 changed files with 9 additions and 1 deletions
10
logging.go
10
logging.go
|
@ -19,9 +19,17 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
|
||||
// Logs critical errors that can lead to data loss or panic
|
||||
LogError int = iota
|
||||
|
||||
// Logs very abnormal events
|
||||
LogWarning
|
||||
LogNotice
|
||||
|
||||
// Logs normal basic activity like connect/disconnects
|
||||
LogInformational
|
||||
|
||||
// Logs detailed activity including all HTTP/Websocket packets.
|
||||
LogDebug
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue