code: def get_log(self, step, logtype):
      return "".join(getattr(task, logtype) for task in self.run[step])
  
imports: import json
  import os
  from metaflow.util import is_stringish
  from .None import MetaflowCheck, AssertArtifactFailed, AssertCardFailed, AssertLogFailed, assert_equals, assert_exception, truncate
label_desc: Use image node_id 11 for calling the MetadataCheck obj's underlying member method code with example usage: obj.get_log(step, logtype) and returns: str