1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00

Introduce a trace wrapper

This patch introduces a wrapper to golang.org/x/net/trace with a new method
that will be useful later on, making logging and tracing less verbose.
This commit is contained in:
Alberto Bertogli
2015-11-06 03:45:36 +00:00
parent 58de5a6200
commit fbf1060b71
3 changed files with 47 additions and 4 deletions

View File

@@ -142,7 +142,6 @@ func (item *Item) SendLoop(q *Queue) {
}
tr.LazyPrintf("%s sending", to)
glog.Infof("%s %q -> %q", item.ID, item.From, to)
// TODO: deliver, serially or in parallel with a waitgroup.
// Fake a successful send for now.