Capture and work with logs.
Functions | |
| pytest_addoption (parser) | |
| userver_log_capture (pytestconfig, userver_log_level) | |
| _userver_config_logs_capture (userver_log_capture) | |
| _tskv_parse_line (bytes rawline) | |
Variables | |
| list | USERVER_CONFIG_HOOKS = ['_userver_config_logs_capture'] |
| int | DEFAULT_PORT = 2211 |
| logger = logging.getLogger(__name__) | |
|
protected |
Definition at line 70 of file log_capture.py.
|
protected |
Definition at line 52 of file log_capture.py.
| pytest_userver.plugins.log_capture.pytest_addoption | ( | parser | ) |
Definition at line 21 of file log_capture.py.
| pytest_userver.plugins.log_capture.userver_log_capture | ( | pytestconfig, | |
| userver_log_level ) |
Definition at line 37 of file log_capture.py.
| int pytest_userver.plugins.log_capture.DEFAULT_PORT = 2211 |
Definition at line 16 of file log_capture.py.
| pytest_userver.plugins.log_capture.logger = logging.getLogger(__name__) |
Definition at line 18 of file log_capture.py.
| list pytest_userver.plugins.log_capture.USERVER_CONFIG_HOOKS = ['_userver_config_logs_capture'] |
Definition at line 15 of file log_capture.py.