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

Method LogsForContainer

pkg/compose/logs_test.go:243–247  ·  view source on GitHub ↗
(containerName string)

Source from the content-addressed store, hash-verified

241func (l *testLogConsumer) Status(containerName, msg string) {}
242
243func (l *testLogConsumer) LogsForContainer(containerName string) []string {
244 l.mu.Lock()
245 defer l.mu.Unlock()
246 return l.logs[containerName]
247}

Calls 1

LockMethod · 0.45

Tested by

no test coverage detected