CustomTimedRotatingFileHandler.__init__¶
-
CustomTimedRotatingFileHandler.
__init__
(path: str, basename: str, extension: str = '.log')[source]¶ Calls the parent constructor and creates the logging directory, if it does not exist.
- Parameters
- Raises
OSError – The logging directory could not be created. The handler should not be used if this exception is raised.