def __init__(self, filepath, level, mode='<STR_LIT:w>'):
self.logfile = filepath<EOL>self._level = level<EOL>self._mode = mode<EOL>self._used = False<EOL>
Create the temporary file handler by providing path and level

:param str filepath: Path to file to use for logging handler.
:param str | int level: Minimal severity level for file handler.
:param str mode: Mode in which to create the file handler.