def container_logs(name, tail, follow, timestamps):
if follow:<EOL><INDENT>return _get_docker().attach(<EOL>name,<EOL>stdout=True,<EOL>stderr=True,<EOL>stream=True<EOL>)<EOL><DEDENT>return _docker.logs(<EOL>name,<EOL>stdout=True,<EOL>stderr=True,<EOL>tail=tail,<EOL>timestamps=timestamps,<EOL>)<EOL>
Wrapper for docker logs, attach commands.