|
| CLogMessage () |
| Construct a message with the "uncategorized" category.
|
|
| CLogMessage (const char *file, int line, const char *function) |
| Constructor taking filename, line number, and function name, for uncategorized verbose debug messages.
|
|
| ~CLogMessage () |
| Destructor. This actually emits the message.
|
|
| operator CStatusMessage () |
| Convert to CStatusMessage for returning the message directly from the function which generated it.
|
|
| CMessageBase () |
| Inheriting constructors.
|
|
| CMessageBase (const CLogCategory &category) |
| Inheriting constructors.
|
|
| CMessageBase (const CLogCategoryList &categories) |
| Inheriting constructors.
|
|
| CMessageBase (const CLogCategoryList &categories, const CLogCategory &extra) |
| Inheriting constructors.
|
|
| CMessageBase (const CLogCategoryList &categories, const CLogCategoryList &extra) |
| Inheriting constructors.
|
|
| CMessageBase () |
| Default constructor.
|
|
| CMessageBase (const CLogCategory &category) |
| Construct a message with some specific category.
|
|
| CMessageBase (const CLogCategoryList &categories) |
| Construct a message with some specific categories.
|
|
| CMessageBase (const CLogCategoryList &categories, const CLogCategory &extra) |
| Construct a message with some specific categories.
|
|
| CMessageBase (const CLogCategoryList &categories, const CLogCategoryList &extra) |
| Construct a message with some specific categories.
|
|
CLogMessage & | log (StatusSeverity s, const char16_t(&m)[N]) |
| Set the severity and format string.
|
|
CLogMessage & | log (StatusSeverity s, const QString &m) |
| Set the severity and format string.
|
|
CLogMessage & | debug () |
| Set the severity to debug.
|
|
CLogMessage & | debug (const char16_t(&format)[N]) |
| Set the severity to debug, providing a format string.
|
|
CLogMessage & | debug (const QString &format) |
| Set the severity to debug, providing a format string.
|
|
CLogMessage & | info (const char16_t(&format)[N]) |
| Set the severity to info, providing a format string.
|
|
CLogMessage & | info (const QString &format) |
| Set the severity to info, providing a format string.
|
|
CLogMessage & | warning (const char16_t(&format)[N]) |
| Set the severity to warning, providing a format string.
|
|
CLogMessage & | warning (const QString &format) |
| Set the severity to warning, providing a format string.
|
|
CLogMessage & | error (const char16_t(&format)[N]) |
| Set the severity to error, providing a format string.
|
|
CLogMessage & | error (const QString &format) |
| Set the severity to error, providing a format string.
|
|
CLogMessage & | validation (StatusSeverity s, const char16_t(&format)[N]) |
| Set the severity to s, providing a format string, and adding the validation category.
|
|
CLogMessage & | validation (StatusSeverity s, const QString &format) |
| Set the severity to s, providing a format string, and adding the validation category.
|
|
CLogMessage & | validationInfo (const char16_t(&format)[N]) |
| Set the severity to info, providing a format string, and adding the validation category.
|
|
CLogMessage & | validationInfo (const QString &format) |
| Set the severity to info, providing a format string, and adding the validation category.
|
|
CLogMessage & | validationWarning (const char16_t(&format)[N]) |
| Set the severity to warning, providing a format string, and adding the validation category.
|
|
CLogMessage & | validationWarning (const QString &format) |
| Set the severity to warning, providing a format string, and adding the validation category.
|
|
CLogMessage & | validationError (const char16_t(&format)[N]) |
| Set the severity to error, providing a format string, and adding the validation category.
|
|
CLogMessage & | validationError (const QString &format) |
| Set the severity to error, providing a format string, and adding the validation category.
|
|
CLogMessage & | operator<< (T v) |
| Streaming operators. More...
|
|
CLogMessage & | operator<< (const T &v) |
| Streaming operators. More...
|
|
bool | isEmpty () const |
| Message empty.
|
|
CLogMessage & | log (StatusSeverity, const char *)=delete |
| Deleted methods to avoid accidental implicit conversion from Latin-1 or UTF-8 string literals.
|
|
CLogMessage & | debug (const char *)=delete |
| Deleted methods to avoid accidental implicit conversion from Latin-1 or UTF-8 string literals.
|
|
CLogMessage & | info (const char *)=delete |
| Deleted methods to avoid accidental implicit conversion from Latin-1 or UTF-8 string literals.
|
|
CLogMessage & | warning (const char *)=delete |
| Deleted methods to avoid accidental implicit conversion from Latin-1 or UTF-8 string literals.
|
|
CLogMessage & | error (const char *)=delete |
| Deleted methods to avoid accidental implicit conversion from Latin-1 or UTF-8 string literals.
|
|
CLogMessage & | validation (StatusSeverity, const char *)=delete |
| Deleted methods to avoid accidental implicit conversion from Latin-1 or UTF-8 string literals.
|
|
CLogMessage & | validationInfo (const char *)=delete |
| Deleted methods to avoid accidental implicit conversion from Latin-1 or UTF-8 string literals.
|
|
CLogMessage & | validationWarning (const char *)=delete |
| Deleted methods to avoid accidental implicit conversion from Latin-1 or UTF-8 string literals.
|
|
CLogMessage & | validationError (const char *)=delete |
| Deleted methods to avoid accidental implicit conversion from Latin-1 or UTF-8 string literals.
|
|
Class for emitting a log message.
Works similar to the qDebug, qWarning, qCritical family of functions.
The member functions debug, info, warning, error, and the stream operators all return a reference to *this
, so they can be chained together.
The categories are arbitrary string tags which can be attached to the message to categorize it. A message can have more than one category. The categories can be used for filtering by message handlers.
Definition at line 26 of file logmessage.h.