Used string join at neccesary places. Removed unused code
This commit is contained in:
parent
4d15e59d4c
commit
20f2f1e8c5
12 changed files with 60 additions and 76 deletions
|
@ -1,9 +1,8 @@
|
|||
package elektronLogging
|
||||
|
||||
import (
|
||||
"os"
|
||||
//data "github.com/spdfg/elektron/elektronLogging/data"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"os"
|
||||
)
|
||||
|
||||
type Logger interface {
|
||||
|
@ -27,11 +26,3 @@ func (l *LoggerImpl) Log(logType int, level log.Level, logData log.Fields, messa
|
|||
l.next.Log(logType, level, logData, message)
|
||||
}
|
||||
}
|
||||
|
||||
/*func cloneFields(logData data.LogData) log.Fields {
|
||||
var newMap = make(log.Fields)
|
||||
for k,v := range logData {
|
||||
newMap[k] = v
|
||||
}
|
||||
return newMap
|
||||
}*/
|
||||
|
|
Reference in a new issue