// we want to output the log from running the container func (s *AdapterSuite) reportLogChunks(clientLog *client.Log) { for chunk, ok := clientLog.GetChunk(); ok; chunk, ok = clientLog.GetChunk() { log.Print(string(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) } }