package test import ( "testing" "github.com/testcontainers/testcontainers-go" ) type Logger struct { testing.TB } func (t *Logger) Accept(l testcontainers.Log) { t.Logf("%s", l.Content) }