This commit is contained in:
程广 2023-01-23 11:48:03 +08:00
parent 2bbe9dcf05
commit c4bf07cd98
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ var defaultLogger = &LogConfig{
Appender: consoleAppender,
}
func (l *Logger) log(Level int, msg ...interface{}) {
func (l *Logger) log(Level int, msg []interface{}) {
if Level <= l.Level {
now := time.Now()