TSDuck v3.40-4033
MPEG Transport Stream Toolkit
|
A wrapper class for C++ AsyncReport. More...
Public Member Functions | |
__init__ (self, severity=Report.Info, sync_log=False, timed_log=False, log_msg_count=0) | |
Constructor, starts the async log thread. | |
delete (self) | |
Explicitly free the underlying C++ object. | |
terminate (self) | |
Synchronously terminates the async log thread. | |
A wrapper class for C++ AsyncReport.
tsduck.AsyncReport.__init__ | ( | self, | |
severity = Report.Info , |
|||
sync_log = False , |
|||
timed_log = False , |
|||
log_msg_count = 0 |
|||
) |
Constructor, starts the async log thread.
severity | Initial severity. |
sync_log | Synchronous log. |
timed_log | Add time stamps in log messages. |
log_msg_count | Maximum buffered log messages. |
Reimplemented from tsduck.Report.
Reimplemented in tsduck.AbstractSyncReport, and tsduck.AbstractAsyncReport.
tsduck.AsyncReport.delete | ( | self | ) |
Explicitly free the underlying C++ object.
After this call, the object becomes unusable. Most usages are unpredictable but most likely will do nothing.
Reimplemented from tsduck.NativeObject.
tsduck.AsyncReport.terminate | ( | self | ) |
Synchronously terminates the async log thread.