فهرست منبع

clean up

Signed-off-by: Vishal Rana <vr@labstack.com>
Vishal Rana 9 سال پیش
والد
کامیت
605829307c
1فایلهای تغییر یافته به همراه0 افزوده شده و 4 حذف شده
  1. 0 4
      log/log.go

+ 0 - 4
log/log.go

@@ -331,10 +331,6 @@ func (l *Logger) log(v Lvl, format string, args ...interface{}) {
 			message = fmt.Sprintf(format, args...)
 		}
 
-		if v >= ERROR {
-			// panic(message)
-		}
-
 		_, err := l.template.ExecuteFunc(buf, func(w io.Writer, tag string) (int, error) {
 			switch tag {
 			case "time_rfc3339":