#include <tsCerrReport.h>
A class with constructors which log messages. Useful to log debug message on standard error during initialization.
- See also
- TS_CERR_DEBUG_LEVEL
-
TS_CERR_DEBUG
◆ ReportConstructor() [1/2]
template<class... Args>
| ts::CerrReport::ReportConstructor::ReportConstructor |
( |
const UChar * | fmt, |
|
|
Args &&... | args ) |
|
inline |
Report a debug message with a printf-like interface.
- Parameters
-
| [in] | fmt | Format string with embedded '%' sequences. |
| [in] | args | List of arguments to substitute in the format string. |
- See also
- UString::format()
◆ ReportConstructor() [2/2]
template<class... Args>
| ts::CerrReport::ReportConstructor::ReportConstructor |
( |
int | severity, |
|
|
const UChar * | fmt, |
|
|
Args &&... | args ) |
|
inline |
Report a message with an explicit severity and a printf-like interface.
- Parameters
-
| [in] | severity | Message severity. |
| [in] | fmt | Format string with embedded '%' sequences. |
| [in] | args | List of arguments to substitute in the format string. |
- See also
- UString::format()
The documentation for this class was generated from the following file: