userver: testsuite.logcapture Namespace Reference
Loading...
Searching...
No Matches
testsuite.logcapture Namespace Reference

Detailed Description

Logcapture allows to intercepts service logs on demand with context manager.

It starts tcp server and read logs sent by server.

Classes

class  BaseError
class  IncorrectUsageError
 Incorrect usage error. More...
class  ClientConnectTimeoutError
class  TimeoutError
class  LogLevel
 Represents log level as IntEnum, which supports comparison. More...
class  CapturedLogs
class  Capture
class  CaptureServer

Functions

bool _match_entry (dict row, dict query)

Variables

 logger = logging.getLogger(__name__)

Function Documentation

◆ _match_entry()

bool _match_entry ( dict row,
dict query )
protected

Definition at line 266 of file logcapture.py.

Variable Documentation

◆ logger

testsuite.logcapture.logger = logging.getLogger(__name__)

Definition at line 16 of file logcapture.py.