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 (
|
const (
|
||||||
|
|
||||||
|
// Logs critical errors that can lead to data loss or panic
|
||||||
LogError int = iota
|
LogError int = iota
|
||||||
|
|
||||||
|
// Logs very abnormal events
|
||||||
LogWarning
|
LogWarning
|
||||||
LogNotice
|
|
||||||
|
// Logs normal basic activity like connect/disconnects
|
||||||
|
LogInformational
|
||||||
|
|
||||||
|
// Logs detailed activity including all HTTP/Websocket packets.
|
||||||
LogDebug
|
LogDebug
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue