def get_logs(self):
try:<EOL><INDENT>api_response = self.core_api.read_namespaced_pod_log(self.name, self.namespace)<EOL>logger.debug("<STR_LIT>", self.name, self.namespace)<EOL>for line in api_response.split('<STR_LIT:\n>'):<EOL><INDENT>logger.debug(line)<EOL><DEDENT>return api_response<EOL><DEDENT>except ApiException as e:<EOL><INDENT>logger.debug("<STR_LIT>"<EOL>"<STR_LIT>", e)<EOL><DEDENT>return None<EOL>
print logs from pod
:return: str or None