code: func (c *Container) Log(ctx context.Context, l logger.Logger, follow bool) error {
  	info, err := c.client.ContainerInspect(ctx, c.container.ID)
  	if err != nil {
  		return err
  	}
  
  	options := types.ContainerLogsOptions{
  		ShowStdout: true,
  		ShowStderr: true,
  		Follow:     follow,
  		Tail:       "all",
  	}
  	responseBody, err := c.client.ContainerLogs(ctx, c.container.ID, options)
  	if err != nil {
  		return err
  	}
  	defer responseBody.Close()
  
  	if info.Config.Tty {
  		_, err = io.Copy(&logger.Wrapper{Logger: l}, responseBody)
  	} else {
  		_, err = stdcopy.StdCopy(&logger.Wrapper{Logger: l}, &logger.Wrapper{Logger: l, Err: true}, responseBody)
  	}
  	logrus.WithFields(logrus.Fields{"Logger": l, "err": err}).Debug("c.client.Logs() returned error")
  
  	return err
  }
docs: // Log forwards container logs to the project configured logger.