MCPcopy
hub / github.com/docker/compose / testLogConsumer

Struct testLogConsumer

pkg/compose/logs_test.go:222–226  ·  pkg/compose/logs_test.go::testLogConsumer

Source from the content-addressed store, hash-verified

220}
221
222type testLogConsumer struct {
223 mu sync.Mutex
224 // logs is keyed by container ID; values are log lines
225 logs map[string][]string
226}
227
228func (l *testLogConsumer) Log(containerName, message string) {
229 l.mu.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected