Logcapture allows to intercepts service logs on demand with context manager.
It starts tcp server and read logs sent by server.
Classes | |
| class | BaseError |
| class | IncorrectUsageError |
| Incorrect usage error. More... | |
| class | ClientConnectTimeoutError |
| class | TimeoutError |
| class | LogLevel |
| Represents log level as IntEnum, which supports comparison. More... | |
| class | CapturedLogs |
| class | Capture |
| class | CaptureServer |
Functions | |
| bool | _match_entry (dict row, dict query) |
Variables | |
| logger = logging.getLogger(__name__) | |
|
protected |
Definition at line 266 of file logcapture.py.
| testsuite.logcapture.logger = logging.getLogger(__name__) |
Definition at line 16 of file logcapture.py.