QGIS API Documentation
3.0.2-Girona (307d082)
|
Interface for logging messages from QGIS in GUI independent way. More...
#include <qgsmessagelog.h>
Signals | |
void | messageReceived (const QString &message, const QString &tag, Qgis::MessageLevel level) |
void | messageReceived (bool received) |
Public Member Functions | |
QgsMessageLog ()=default | |
Constructor for QgsMessageLog. More... | |
Static Public Member Functions | |
static void | logMessage (const QString &message, const QString &tag=QString(), Qgis::MessageLevel level=Qgis::Warning) |
add a message to the instance (and create it if necessary) More... | |
Interface for logging messages from QGIS in GUI independent way.
This class provides abstraction of a tabbed window for showing messages to the user. By default QgsMessageLogOutput will be used if not overridden with another message log creator function.
QGIS application uses QgsMessageLog class for logging messages in a dockable window for the user.
QgsMessageLog is not usually directly created, but rather accessed through QgsApplication::messageLog().
Definition at line 38 of file qgsmessagelog.h.
|
default |
Constructor for QgsMessageLog.
|
static |
add a message to the instance (and create it if necessary)
Definition at line 25 of file qgsmessagelog.cpp.
|
signal |
|
signal |