func reportLogChunks(name string, clientLog *client.Log, r reporter.Reporter) { for chunk := range clientLog.Chan { r.PushLogChunk(name, chunk) } }
func reportLogChunks(name string, clientLog *client.Log, r reporter.Reporter) { for ch, ok := clientLog.GetChunk(); ok; ch, ok = clientLog.GetChunk() { r.PushLogChunk(name, ch) } }