Qt wrapper around MessageFacility message
More...
#include <mfextensions/Binaries/qt_mf_msg.hh>
|
| qt_mf_msg (mf::MessageFacilityMsg const &msg) |
| Construct a qt_mf_msg using the given MessageFacilityMsg More...
|
|
QString const & | text (bool mode) const |
| Get the text of the message More...
|
|
QColor const & | color () const |
| Get the severity-based color of the message More...
|
|
sev_code_t | sev () const |
| Get the severity of the message More...
|
|
QString const & | host () const |
| Get the host from which the message came More...
|
|
QString const & | cat () const |
| Get the category of the message More...
|
|
QString const & | app () const |
| Get the application of the message More...
|
|
timeval | time () const |
| Get the message timestamp More...
|
|
size_t | seq () const |
| Get the sequence number of the message More...
|
|
Qt wrapper around MessageFacility message
Definition at line 36 of file qt_mf_msg.hh.
qt_mf_msg::qt_mf_msg |
( |
mf::MessageFacilityMsg const & |
msg | ) |
|
|
explicit |
QString const& qt_mf_msg::app |
( |
| ) |
const |
|
inline |
Get the application of the message
- Returns
- Message application
Definition at line 76 of file qt_mf_msg.hh.
QString const& qt_mf_msg::cat |
( |
| ) |
const |
|
inline |
Get the category of the message
- Returns
- Message category
Definition at line 71 of file qt_mf_msg.hh.
QColor const& qt_mf_msg::color |
( |
| ) |
const |
|
inline |
Get the severity-based color of the message
- Returns
- Color of the message
Definition at line 56 of file qt_mf_msg.hh.
QString const& qt_mf_msg::host |
( |
| ) |
const |
|
inline |
Get the host from which the message came
- Returns
- Hostname of message
Definition at line 66 of file qt_mf_msg.hh.
size_t qt_mf_msg::seq |
( |
| ) |
const |
|
inline |
Get the sequence number of the message
- Returns
- Message sequence number
Definition at line 86 of file qt_mf_msg.hh.
sev_code_t qt_mf_msg::sev |
( |
| ) |
const |
|
inline |
Get the severity of the message
- Returns
- Message severity
Definition at line 61 of file qt_mf_msg.hh.
QString const& qt_mf_msg::text |
( |
bool |
mode | ) |
const |
|
inline |
Get the text of the message
- Parameters
-
mode | Whether to return the short-form text |
- Returns
- Text of the message
Definition at line 51 of file qt_mf_msg.hh.
timeval qt_mf_msg::time |
( |
| ) |
const |
|
inline |
Get the message timestamp
- Returns
- Timestamp of the message
Definition at line 81 of file qt_mf_msg.hh.
The documentation for this class was generated from the following files: