QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
|
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 137 of file qgsmessagelog.h.
QgsMessageLogConsole::QgsMessageLogConsole | ( | ) |
Constructor for QgsMessageLogConsole.
Definition at line 55 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 69 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 62 of file qgsmessagelog.cpp.