Capture and work with logs. More...
Classes | |
| class | CaptureControl | 
| class | CapturedLogs | 
Functions | |
| pytest_addoption (parser) | |
| userver_log_capture (_userver_capture_control, _userver_capture_server) | |
| _userver_capture_control () | |
| _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 | 
Capture and work with logs.
      
  | 
  protected | 
Definition at line 161 of file log_capture.py.
      
  | 
  protected | 
Definition at line 119 of file log_capture.py.
      
  | 
  protected | 
Definition at line 134 of file log_capture.py.
      
  | 
  protected | 
Definition at line 146 of file log_capture.py.
      
  | 
  protected | 
Definition at line 124 of file log_capture.py.
| pytest_userver.plugins.log_capture.pytest_addoption | ( | parser | ) | 
Definition at line 98 of file log_capture.py.
| pytest_userver.plugins.log_capture.userver_log_capture | ( | _userver_capture_control, | |
| _userver_capture_server | |||
| ) | 
Definition at line 114 of file log_capture.py.
| int pytest_userver.plugins.log_capture.DEFAULT_PORT = 2211 | 
Definition at line 20 of file log_capture.py.
| list pytest_userver.plugins.log_capture.USERVER_CONFIG_HOOKS = ['_userver_config_logs_capture'] | 
Definition at line 19 of file log_capture.py.