diff options
Diffstat (limited to 'src/Logging.py')
| -rw-r--r-- | src/Logging.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Logging.py b/src/Logging.py index a1cdb123..e883540a 100644 --- a/src/Logging.py +++ b/src/Logging.py @@ -24,6 +24,8 @@ class HookedHandler(logging.StreamHandler): self._func(record.levelno, self.format(record)) class Log(object): + _hooks: typing.List[typing.Callable[[int, str], None]] + def __init__(self, to_file: bool, level: str, location: str): self._hooks = [] |
