public void followOutput(
        DockerClient dockerClient,
        String containerId,
        Consumer<OutputFrame> consumer,
        OutputFrame.OutputType... types
    ) {
        attachConsumer(dockerClient, containerId, consumer, true, types);
    }
Attach a log consumer to a container's log outputs in follow mode. The consumer will receive all previous
and all future log frames of the specified type(s).

@param dockerClient a Docker client
@param containerId  container ID to attach to
@param consumer     a consumer of {@link OutputFrame}s
@param types        types of {@link OutputFrame} to receive
core/src/main/java/org/testcontainers/utility/LogUtils.java