How to configure logging for 1.5.0 version? #451
-
Hello, I've been trying to add logging to testcontainers, I've read the docs and it says Logging I was struggling to find it, but then I figured out that this functionality is not part of latest release (1.5.0), as this class was added on 24th of July. Why are there no more releases after 1.5.0? How can we configure logging for 1.5.0? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
In version |
Beta Was this translation helpful? Give feedback.
In version
1.5.0
logging was bound to Serilog. You'll need to provide a appsettings.json configuration and the necessary sinks. I recomment the latest snapshot release. It contains a lot improvements incl.TestcontainersSettings.Logger
which supports theILogger
.