summaryrefslogtreecommitdiff
path: root/test/integration/logger.go
blob: 86660bcf44ca59b8776da19be0f1e3a53d91cc86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)
}