public Slf4jLogConsumer withPrefix(String prefix) {
        this.prefix = "[" + prefix + "] ";
        return this;
    }
A consumer for container output that logs output to an SLF4J logger.
core/src/main/java/org/testcontainers/containers/output/Slf4jLogConsumer.java