QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
Default implementation of message logging interface. More...
#include <qgsmessagelog.h>
Public Slots | |
virtual void | logMessage (const QString &message, const QString &tag, Qgis::MessageLevel level) |
Logs a message to stderr. | |
Public Member Functions | |
QgsMessageLogConsole () | |
Constructor for QgsMessageLogConsole. | |
Protected Member Functions | |
QString | formatLogMessage (const QString &message, const QString &tag, Qgis::MessageLevel level=Qgis::MessageLevel::Info) const |
Formats a log message. | |
Default implementation of message logging interface.
This class outputs log messages to the standard error. Therefore it might be the right choice for applications without GUI.
Definition at line 131 of file qgsmessagelog.h.
QgsMessageLogConsole::QgsMessageLogConsole | ( | ) |
Constructor for QgsMessageLogConsole.
Definition at line 56 of file qgsmessagelog.cpp.
|
protected |
Formats a log message.
Used by child classes.
message | the message to format |
tag | the tag of the message |
level | the log level of the message |
Definition at line 70 of file qgsmessagelog.cpp.
|
virtualslot |
Logs a message to stderr.
message | the message to format |
tag | the tag of the message |
level | the log level of the message |
Definition at line 63 of file qgsmessagelog.cpp.