Represents a single message in the log.
More...
#include <GCF3/Log>
Instances of this class are created by GCF::Log::info(), GCF::Log::warning(), GCF::Log::debug(), GCF::Log::error(), GCF::Log::fatal() and stored in the log message hierarchy, until the message is handled by the log message handler (GCF::LogMessageHandlerInterface). As soon as the message is handled; it gets destroyed.
This class is internal. You will need to use it only if you are writing your own handler.
Enumeration of log message levels
GCF::LogMessage::~LogMessage |
( |
| ) |
|
Destroys the log message and all its children
- Returns
- pointer to the parent log message
- Returns
- list of pointers to children messages
int GCF::LogMessage::logLevel |
( |
| ) |
const |
QString GCF::LogMessage::context |
( |
| ) |
const |
- Returns
- context of the log message
QByteArray GCF::LogMessage::logCode |
( |
| ) |
const |
- Returns
- code of the log message
QString GCF::LogMessage::message |
( |
| ) |
const |
- Returns
- one-line text of the log message
QString GCF::LogMessage::details |
( |
| ) |
const |
- Returns
- multi-line text of the log message