LogRecordSocketReceiver

Inheritance diagram of LogRecordSocketReceiver
class LogRecordSocketReceiver(host='localhost', port=9020, handler=<class 'taurus.core.util.remotelogmonitor.LogRecordStreamHandler'>, **kwargs)[source]

Simple TCP socket-based logging receiver suitable for testing.

Import from taurus.core.util.remotelogmonitor as:

from taurus.core.util.remotelogmonitor import LogRecordSocketReceiver
allow_reuse_address = 1
daemon_threads = True
registerHandler(handler)[source]
serve_until_stopped()[source]
stop()[source]
unregisterHandler(handler)[source]