(format string, v ...interface{})
| 230 | } |
| 231 | |
| 232 | func (l *Logger) Errorf(format string, v ...interface{}) { |
| 233 | t := TYPE_ERROR |
| 234 | if l.isDisabled(t) { |
| 235 | return |
| 236 | } |
| 237 | s := fmt.Sprintf(format, v...) |
| 238 | l.output(1, nil, t, s) |
| 239 | } |
| 240 | |
| 241 | func (l *Logger) ErrorError(err error, v ...interface{}) { |
| 242 | t := TYPE_ERROR |
no test coverage detected