go/mirko: fix trace logging

Change-Id: I95b8ce32ad529ffe0b43282f5761495df78b2b10
changes/85/385/2
q3k 2020-08-16 15:24:58 +02:00 committed by q3k
parent b97a303f89
commit 8887655aa8
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ func TraceInfof(ctx context.Context, f string, args ...interface{}) {
tr, ok := trace.FromContext(ctx)
if !ok {
fmtd := fmt.Sprintf(f, args...)
glog.Info("[no trace] %v", fmtd)
glog.Infof("[no trace] %v", fmtd)
return
}
tr.LazyPrintf(f, args...)