(format string, v ...interface{})
| 338 | } |
| 339 | |
| 340 | func (l *Logger) Debugf(format string, v ...interface{}) { |
| 341 | t := TYPE_DEBUG |
| 342 | if l.isDisabled(t) { |
| 343 | return |
| 344 | } |
| 345 | s := fmt.Sprintf(format, v...) |
| 346 | l.output(1, nil, t, s) |
| 347 | } |
| 348 | |
| 349 | func (l *Logger) DebugError(err error, v ...interface{}) { |
| 350 | t := TYPE_DEBUG |