4 #ifndef SWIFT_MISC_LOGMESSAGE_H
5 #define SWIFT_MISC_LOGMESSAGE_H
36 CLogMessage(
const char *file,
int line,
const char *
function);
51 QMessageLogger m_logger;
53 QByteArray qtCategory()
const;
54 QDebug ostream(
const QByteArray &category)
const;
62 #define SWIFT_LOG (swift::misc::CLogMessage { __FILE__, __LINE__, Q_FUNC_INFO })
Class for emitting a log message.
CLogMessage()
Construct a message with the "uncategorized" category.
static void preformatted(const CStatusMessage &statusMessage)
Sends a verbatim, preformatted message to the log.
CLogMessage(const char *file, int line, const char *function)
Constructor taking filename, line number, and function name, for uncategorized verbose debug messages...
static void preformatted(const CStatusMessageList &statusMessages)
Sends a list of verbatim, preformatted messages to the log.
~CLogMessage()
Destructor. This actually emits the message.
Base class for CStatusMessage and CLogMessage.
CMessageBase()
Default constructor.
Streamable status message, e.g.
Status messages, e.g. from Core -> GUI.
Free functions in swift::misc.
#define SWIFT_MISC_EXPORT
Export a class or function from the library.