userver: pytest_userver.plugins.log_capture.CaptureControl Class Reference
Loading...
Searching...
No Matches
pytest_userver.plugins.log_capture.CaptureControl Class Reference

Detailed Description

Definition at line 74 of file log_capture.py.

Public Member Functions

 __init__ (self, *str log_level)
 
 start_capture (self, *typing.Optional[str] log_level=None, float timeout=10.0)
 
 start_server (self, *sock, loop=None)
 

Public Attributes

 default_log_level
 

Protected Member Functions

 _handle_client (self, reader, writer)
 

Protected Attributes

 _tasks
 
 _capture
 
 _handle_client
 

Constructor & Destructor Documentation

◆ __init__()

pytest_userver.plugins.log_capture.CaptureControl.__init__ ( self,
*str log_level )

Definition at line 75 of file log_capture.py.

Member Function Documentation

◆ _handle_client()

pytest_userver.plugins.log_capture.CaptureControl._handle_client ( self,
reader,
writer )
protected

Definition at line 121 of file log_capture.py.

◆ start_capture()

pytest_userver.plugins.log_capture.CaptureControl.start_capture ( self,
*typing.Optional[str] log_level = None,
float timeout = 10.0 )

Definition at line 81 of file log_capture.py.

◆ start_server()

pytest_userver.plugins.log_capture.CaptureControl.start_server ( self,
* sock,
loop = None )

Definition at line 108 of file log_capture.py.

Member Data Documentation

◆ _capture

pytest_userver.plugins.log_capture.CaptureControl._capture
protected

Definition at line 94 of file log_capture.py.

◆ _handle_client

pytest_userver.plugins.log_capture.CaptureControl._handle_client
protected

Definition at line 113 of file log_capture.py.

◆ _tasks

pytest_userver.plugins.log_capture.CaptureControl._tasks
protected

Definition at line 78 of file log_capture.py.

◆ default_log_level

pytest_userver.plugins.log_capture.CaptureControl.default_log_level

Definition at line 76 of file log_capture.py.


The documentation for this class was generated from the following file: