Browse Source

Comment log levels.

Bruce Marriner 9 years ago
parent
commit
852a968873
1 changed files with 9 additions and 1 deletions
  1. 9 1
      logging.go

+ 9 - 1
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
 )