forked from hswaw/hscloud
go/mirko: fix trace logging
Change-Id: I95b8ce32ad529ffe0b43282f5761495df78b2b10
This commit is contained in:
parent
b97a303f89
commit
8887655aa8
1 changed files with 1 additions and 1 deletions
|
@ -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...)
|
||||
|
|
Loading…
Reference in a new issue