From 4521fa6323950b2dbe8b49325fb3a1d0519d6efb Mon Sep 17 00:00:00 2001 From: Sean Murphy Date: Tue, 4 Dec 2018 15:03:54 +0100 Subject: [PATCH] cleanups to logging.go file --- logging.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/logging.go b/logging.go index d85689f..f5e50f6 100644 --- a/logging.go +++ b/logging.go @@ -17,12 +17,6 @@ const ( TRACE ) -const ( - LoggerCreated int = iota // return code if the logger creates a new logger - LoggerExists // retun cde in the case that there is already a logger - ErrorCreatingLogger // in case of error creating the logger -) - var logLevelStringMap = map[string]int{ "error": ERROR, "warning": WARNING, @@ -49,7 +43,7 @@ var ( Warning logStream Error logStream DefaultLogger logStream - LogLevel int + LogLevel int = WARNING ) func (l *logStream) Printf(format string, a ...interface{}) {