code: def logs(self, follow=False):
          
          # TODO: podman logs have different behavior than docker
          follow = ["--follow"] if follow else []
          cmdline = ["podman", "logs"] + follow + [self._id or self.get_id()]
          output = run_cmd(cmdline, return_output=True)
          return output
docs: Get logs from this container. Iterator has one log line followed by a newline in next item.
          The logs are NOT encoded (they are str, not bytes).
  
          Let's look at an example::
  
              image = conu.PodmanImage("fedora", tag="27")
              command = ["bash", "-c", "for x in `seq 1 5`; do echo $x; sleep 1; done"]
              container = image.run_via_binary(command=command)
              for line in container.logs(follow=True):
                  print(line)
  
          This will output
  
          .. code-block:: none
  
              '1' '\n' '2' '\n' '3' '\n' '4' '\n' '5' '\n'
  
          :param follow: bool, provide new logs as they come
          :return: iterator (of str)