cleanups to logging.go file

master
Sean Murphy 6 years ago
parent e5337663d0
commit 4521fa6323
  1. 8
      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{}) {

Loading…
Cancel
Save