1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-23 15:37:01 +00:00

trace: Remove unused SetError function

This commit is contained in:
Alberto Bertogli
2018-02-25 03:26:21 +00:00
parent 420754b0a0
commit f629ffefa4

View File

@@ -40,10 +40,6 @@ func (t *Trace) Debugf(format string, a ...interface{}) {
t.family, t.title, quote(fmt.Sprintf(format, a...)))
}
func (t *Trace) SetError() {
t.t.SetError()
}
func (t *Trace) Errorf(format string, a ...interface{}) error {
// Note we can't just call t.Error here, as it breaks caller logging.
err := fmt.Errorf(format, a...)