fix
This commit is contained in:
parent
2bbe9dcf05
commit
c4bf07cd98
2
main.go
2
main.go
|
@ -41,7 +41,7 @@ var defaultLogger = &LogConfig{
|
||||||
Appender: consoleAppender,
|
Appender: consoleAppender,
|
||||||
}
|
}
|
||||||
|
|
||||||
func (l *Logger) log(Level int, msg ...interface{}) {
|
func (l *Logger) log(Level int, msg []interface{}) {
|
||||||
|
|
||||||
if Level <= l.Level {
|
if Level <= l.Level {
|
||||||
now := time.Now()
|
now := time.Now()
|
||||||
|
|
Loading…
Reference in New Issue