code: def close(self):
      if self.logging:
          self.fout.close()
  
imports: import json
  import os
  from .None import constants
label_desc: Use image node_id 4 for calling the Logger obj's underlying member method code with example usage: obj.close() without return types