public SELF withLogConsumer(String serviceName, Consumer<OutputFrame> consumer) {
        this.composeDelegate.withLogConsumer(serviceName, consumer);
        return self();
    }
Attach an output consumer at container startup, enabling stdout and stderr to be followed, waited on, etc.
<p>
More than one consumer may be registered.

@param serviceName the name of the service as set in the docker-compose.yml file
@param consumer    consumer that output frames should be sent to
@return this instance, for chaining
core/src/main/java/org/testcontainers/containers/DockerComposeContainer.java