From 852a968873e4b522ccffa3e9e986460c8e7fdb4c Mon Sep 17 00:00:00 2001 From: Bruce Marriner Date: Tue, 26 Apr 2016 21:34:01 -0500 Subject: [PATCH] Comment log levels. --- logging.go | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/logging.go b/logging.go index 95ba1bb..639df5f 100644 --- a/logging.go +++ b/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 )