Capture and work with logs.
Classes | |
class | CaptureControl |
class | CapturedLogs |
class | LogLevel |
Functions | |
pytest_addoption (parser) | |
userver_log_capture (_userver_capture_control, _userver_capture_server) | |
_userver_capture_control (userver_log_level) | |
_userver_log_capture_socket (pytestconfig) | |
_userver_capture_server (CaptureControl _userver_capture_control, _userver_log_capture_socket, loop) | |
_userver_config_logs_capture (_userver_log_capture_socket) | |
bool | _match_entry (tskv.TskvRow row, query) |
Variables | |
list | USERVER_CONFIG_HOOKS = ['_userver_config_logs_capture'] |
int | DEFAULT_PORT = 2211 |
|
protected |
Definition at line 195 of file log_capture.py.
|
protected |
Definition at line 153 of file log_capture.py.
|
protected |
Definition at line 168 of file log_capture.py.
|
protected |
Definition at line 180 of file log_capture.py.
|
protected |
Definition at line 158 of file log_capture.py.
pytest_userver.plugins.log_capture.pytest_addoption | ( | parser | ) |
Definition at line 132 of file log_capture.py.
pytest_userver.plugins.log_capture.userver_log_capture | ( | _userver_capture_control, | |
_userver_capture_server ) |
Definition at line 148 of file log_capture.py.
int pytest_userver.plugins.log_capture.DEFAULT_PORT = 2211 |
Definition at line 21 of file log_capture.py.
list pytest_userver.plugins.log_capture.USERVER_CONFIG_HOOKS = ['_userver_config_logs_capture'] |
Definition at line 20 of file log_capture.py.