parameters: (self, filename, mode="a", encoding=None, delay=0)
docstring: Inits ExtFileHandler.
docstring_summary: Inits ExtFileHandler.
docstring_tokens: Inits ExtFileHandler .
function: def __init__(self, filename, mode="a", encoding=None, delay=0):
      """Inits ExtFileHandler."""
      if not os.path.exists(os.path.dirname(filename)):
        os.makedirs(os.path.dirname(filename))
  
      if not os.path.exists(filename):
        fd = open(filename, "w")
        fd.close()
  
      logging.FileHandler.__init__(self, filename, mode, encoding, delay)
function_tokens: def __init__ ( self , filename , mode = "a" , encoding = None , delay = 0 ) : if not os . path . exists ( os . path . dirname ( filename ) ) : os . makedirs ( os . path . dirname ( filename ) ) if not os . path . exists ( filename ) : fd = open ( filename , "w" ) fd . close ( ) logging . FileHandler . __init__ ( self , filename , mode , encoding , delay )