(f string, args ...interface{})
| 42 | } |
| 43 | |
| 44 | func (l *Logger) Errorf(f string, args ...interface{}) error { |
| 45 | return fmt.Errorf(l.prefix+": "+f, args...) |
| 46 | } |
| 47 | |
| 48 | func (l *Logger) Fork(prefix string, args ...interface{}) *Logger { |
| 49 | //slip the parent prefix at the front |
no outgoing calls