The original FileHandler's init is called, right after the directory used to store the objection logfile is created. :param filename: :param mode: :param encoding: :param delay:
(self, filename: str, mode: str = 'a', encoding: str = None, delay: bool = False)
| 13 | """ |
| 14 | |
| 15 | def __init__(self, filename: str, mode: str = 'a', encoding: str = None, delay: bool = False) -> None: |
| 16 | """ |
| 17 | The original FileHandler's init is called, right after the |
| 18 | directory used to store the objection logfile is created. |
| 19 | |
| 20 | :param filename: |
| 21 | :param mode: |
| 22 | :param encoding: |
| 23 | :param delay: |
| 24 | """ |
| 25 | |
| 26 | os.makedirs(os.path.dirname(filename), exist_ok=True) |
| 27 | logging.FileHandler.__init__(self, filename, mode, encoding, delay) |
| 28 | |
| 29 | |
| 30 | def new_secho(text: str, **kwargs) -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected