log.pyi 392 B

12345678910111213141516
  1. from typing import Any, Dict, Optional, Union
  2. from twisted.python.failure import Failure
  3. EventDict = Dict[str, Any]
  4. def err(
  5. _stuff: Union[None, Exception, Failure] = ...,
  6. _why: Optional[str] = ...,
  7. **kw: object,
  8. ) -> None: ...
  9. class PythonLoggingObserver:
  10. def emit(self, eventDict: EventDict) -> None: ...
  11. def start(self) -> None: ...
  12. def stop(self) -> None: ...