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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user