Browse Source

clean up

Signed-off-by: Vishal Rana <vr@labstack.com>
Vishal Rana 9 năm trước cách đây
mục cha
commit
605829307c
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  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":