TSDuck v3.40-3963
MPEG Transport Stream Toolkit
|
Message severity. More...
#include <tsSeverity.h>
Static Public Member Functions | |
static UString | Header (int severity) |
Formatted line prefix header for a severity. | |
Static Public Attributes | |
static constexpr int | Debug = 1 |
First debug level. | |
static const Enumeration | Enums |
An enumeration to use severity values on the command line for instance. | |
static constexpr int | Error = -3 |
Regular error. | |
static constexpr int | Fatal = -5 |
Fatal error, typically aborts the application. | |
static constexpr int | Info = -1 |
Information message. | |
static constexpr int | Severe = -4 |
Severe errror. | |
static constexpr int | Verbose = 0 |
Verbose information. | |
static constexpr int | Warning = -2 |
Warning message. | |
Message severity.
Positive values are debug levels. The typical default reporting level is Info
. All messages with a higher level (Verbose
and all debug levels) are not reported by default.
The struct
is here just to add a naming level.
|
static |
Formatted line prefix header for a severity.
[in] | severity | Severity value. |