diff options
Diffstat (limited to 'test/integration/logger.go')
| -rw-r--r-- | test/integration/logger.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/integration/logger.go b/test/integration/logger.go new file mode 100644 index 0000000..86660bc --- /dev/null +++ b/test/integration/logger.go @@ -0,0 +1,15 @@ +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) +} |
