def collect_logs(name):
logs = container_logs(name, "<STR_LIT:all>", True, None)<EOL>string = "<STR_LIT>"<EOL>for s in logs:<EOL><INDENT>string += s<EOL><DEDENT>return string<EOL>
Returns a string representation of the logs from a container.
This is similar to container_logs but uses the `follow` option
and flattens the logs into a string instead of a generator.

:param name: The container name to grab logs for
:return: A string representation of the logs