docs: public LogOutputSpec createSpec(String containerId, ImageConfiguration imageConfiguration) {
          LogOutputSpec.Builder builder = new LogOutputSpec.Builder();
          LogConfiguration logConfig = extractLogConfiguration(imageConfiguration);
  
          addLogFormat(builder, logConfig);
          addPrefix(builder, logConfig.getPrefix(), imageConfiguration, containerId);
          builder.file(logConfig.getFileLocation())
                 .useColor(useColor)
                 .logStdout(logStdout)
                 .color(logConfig.getColor());
  
          return builder.build();
      }