From 64f6b7ad0b71e953c59519821f4225555f843442 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Sun, 12 May 2019 19:25:13 +0200 Subject: [PATCH] Improve comment for Loglevel constants --- logging/logging.go | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/logging/logging.go b/logging/logging.go index 369b973..c74bbbe 100644 --- a/logging/logging.go +++ b/logging/logging.go @@ -8,16 +8,12 @@ import ( // Loglevel is used to set the current loglevel of Logger. type Loglevel int +// These are available loglevels for Logger. const ( - // NONE is a loglevel for Logger. - NONE Loglevel = 0 - // ERROR is a loglevel for Logger. + NONE Loglevel = 0 ERROR Loglevel = 1 - // WARN is a loglevel for Logger. - WARN Loglevel = 2 - // INFO is a loglevel for Logger. - INFO Loglevel = 3 - // DEBUG is a loglevel for Logger. + WARN Loglevel = 2 + INFO Loglevel = 3 DEBUG Loglevel = 4 )