File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1+ - Fix tc logger for v0.36.0
Original file line number Diff line number Diff line change @@ -105,14 +105,13 @@ func GetTestLogger(t *testing.T) zerolog.Logger {
105105// GetTestContainersGoTestLogger returns a logger that will write to the testing.T.Log function using the env var for log level
106106// for logs that testcontainers-go will log out. nil can be passed to this and it will be treated as the default tc.Logger
107107func GetTestContainersGoTestLogger (t * testing.T ) tclog.Logger {
108- l := tclog .TestLogger (t )
109108 if t != nil {
110- l = CustomT {
109+ return CustomT {
111110 T : t ,
112111 L : GetTestLogger (t ),
113112 }
114113 }
115- return l
114+ return tclog . Default ()
116115}
117116
118117// SplitStringIntoChunks takes a string and splits it into chunks of a specified size.
You can’t perform that action at this time.
0 commit comments