(containerName, message string)
| 226 | } |
| 227 | |
| 228 | func (l *testLogConsumer) Log(containerName, message string) { |
| 229 | l.mu.Lock() |
| 230 | defer l.mu.Unlock() |
| 231 | if l.logs == nil { |
| 232 | l.logs = make(map[string][]string) |
| 233 | } |
| 234 | l.logs[containerName] = append(l.logs[containerName], message) |
| 235 | } |
| 236 | |
| 237 | func (l *testLogConsumer) Err(containerName, message string) { |
| 238 | l.Log(containerName, message) |