Printf sends a log event using debug level and no extra field. Arguments are handled in the manner of fmt.Printf.
(format string, v ...interface{})
| 460 | // Printf sends a log event using debug level and no extra field. |
| 461 | // Arguments are handled in the manner of fmt.Printf. |
| 462 | func (l *Logger) Printf(format string, v ...interface{}) { |
| 463 | if e := l.Debug(); e.Enabled() { |
| 464 | e.CallerSkipFrame(1).Msg(fmt.Sprintf(format, v...)) |
| 465 | } |
| 466 | } |
| 467 | |
| 468 | // Println sends a log event using debug level and no extra field. |
| 469 | // Arguments are handled in the manner of fmt.Println. |