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{}) {