TSDuck v3.40-4033
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
tsduck.AbstractAsyncReport Class Reference

An abstract Report class which can be derived by applications to get log messages. More...

Inheritance diagram for tsduck.AbstractAsyncReport:
Collaboration diagram for tsduck.AbstractAsyncReport:

Public Member Functions

 __init__ (self, severity=Report.Info, sync_log=False, log_msg_count=0)
 Constructor, starts the async log thread.
 

Detailed Description

An abstract Report class which can be derived by applications to get log messages.

This class uses the C++ class ts::AsyncReport which asynchronously logs messages in a separate thread. The Python callback is invoked in a common C++ thread.

Constructor & Destructor Documentation

◆ __init__()

tsduck.AbstractAsyncReport.__init__ (   self,
  severity = Report.Info,
  sync_log = False,
  log_msg_count = 0 
)

Constructor, starts the async log thread.

Parameters
severityInitial severity.
sync_logSynchronous log.
log_msg_countMaximum buffered log messages.

Reimplemented from tsduck.AsyncReport.


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