userver: pytest_userver.plugins.logging.LiveLogHandler Class Reference
Loading...
Searching...
No Matches
pytest_userver.plugins.logging.LiveLogHandler Class Reference

Detailed Description

Definition at line 59 of file logging.py.

Public Member Functions

 __init__ (self, *colorize_factory, float delay=0.05)
 
 register_logfile (self, pathlib.Path path)
 
 join (self, float timeout=10)
 

Protected Member Functions

 _logreader_thread (self, pathlib.Path path)
 
 _write_logline (self, str line)
 
bool _eof_handler (self)
 

Protected Attributes

 _colorize_factory
 
 _threads
 
 _exiting
 
 _delay
 

Constructor & Destructor Documentation

◆ __init__()

pytest_userver.plugins.logging.LiveLogHandler.__init__ ( self,
* colorize_factory,
float delay = 0.05 )

Definition at line 60 of file logging.py.

Member Function Documentation

◆ _eof_handler()

bool pytest_userver.plugins.logging.LiveLogHandler._eof_handler ( self)
protected

Definition at line 94 of file logging.py.

◆ _logreader_thread()

pytest_userver.plugins.logging.LiveLogHandler._logreader_thread ( self,
pathlib.Path path )
protected

Definition at line 78 of file logging.py.

◆ _write_logline()

pytest_userver.plugins.logging.LiveLogHandler._write_logline ( self,
str line )
protected

Definition at line 91 of file logging.py.

◆ join()

pytest_userver.plugins.logging.LiveLogHandler.join ( self,
float timeout = 10 )

Definition at line 73 of file logging.py.

◆ register_logfile()

pytest_userver.plugins.logging.LiveLogHandler.register_logfile ( self,
pathlib.Path path )

Definition at line 66 of file logging.py.

Member Data Documentation

◆ _colorize_factory

pytest_userver.plugins.logging.LiveLogHandler._colorize_factory
protected

Definition at line 61 of file logging.py.

◆ _delay

pytest_userver.plugins.logging.LiveLogHandler._delay
protected

Definition at line 64 of file logging.py.

◆ _exiting

pytest_userver.plugins.logging.LiveLogHandler._exiting
protected

Definition at line 63 of file logging.py.

◆ _threads

pytest_userver.plugins.logging.LiveLogHandler._threads
protected

Definition at line 62 of file logging.py.


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