code: func (c *container) Logs(follow bool, since string, tail string) (sources []LogSource) {
  	if c.Exists() {
  		name := c.ActualName(false)
  		args := []string{"logs"}
  		if follow {
  			args = append(args, "-f")
  		}
  		if len(since) > 0 {
  			args = append(args, "--since", since)
  		}
  		if len(tail) > 0 && tail != "all" {
  			args = append(args, "--tail", tail)
  		}
  		// always include timestamps for ordering, we'll just strip
  		// them if the user doesn't want to see them
  		args = append(args, "-t")
  		args = append(args, name)
  		cmd, stdout, stderr := executeCommandBackground("docker", args)
  		if cmd != nil {
  			sources = append(sources, LogSource{
  				Stdout: stdout,
  				Stderr: stderr,
  				Name:   name,
  			})
  		}
  	}
  	return
  }
docs: // Dump container logs