QGIS API Documentation
3.6.0-Noosa (5873452)
|
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. More... | |
Public Member Functions | |
QgsMessageLogConsole () | |
Constructor for QgsMessageLogConsole. More... | |
Protected Member Functions | |
QString | formatLogMessage (const QString &message, const QString &tag, Qgis::MessageLevel level=Qgis::Info) const |
Formats a log message. More... | |
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 136 of file qgsmessagelog.h.
QgsMessageLogConsole::QgsMessageLogConsole | ( | ) |
Constructor for QgsMessageLogConsole.
Definition at line 43 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 57 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 50 of file qgsmessagelog.cpp.