TSDuck v3.40-3963
MPEG Transport Stream Toolkit
|
An abstract Report class which can be derived by applications to get log messages. More...
Public Member Functions | |
__init__ (self, severity=Report.Info, sync_log=False, log_msg_count=0) | |
Constructor, starts the async log thread. | |
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.
tsduck.AbstractAsyncReport.__init__ | ( | self, | |
severity = Report.Info , |
|||
sync_log = False , |
|||
log_msg_count = 0 |
|||
) |
Constructor, starts the async log thread.
severity | Initial severity. |
sync_log | Synchronous log. |
log_msg_count | Maximum buffered log messages. |
Reimplemented from tsduck.AsyncReport.