QGIS API Documentation
2.8.2-Wien
|
Interface for logging messages from QGIS in GUI independent way. More...
#include <qgsmessagelog.h>
Public Types | |
enum | MessageLevel { INFO = 0, WARNING = 1, CRITICAL = 2 } |
Signals | |
void | messageReceived (QString message, QString tag, QgsMessageLog::MessageLevel level) |
Static Public Member Functions | |
static QgsMessageLog * | instance () |
static void | logMessage (QString message, QString tag=QString::null, MessageLevel level=WARNING) |
add a message to the instance (and create it if necessary) |
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.
Definition at line 31 of file qgsmessagelog.h.
Definition at line 38 of file qgsmessagelog.h.
|
static |
Definition at line 32 of file qgsmessagelog.cpp.
|
static |
add a message to the instance (and create it if necessary)
Definition at line 43 of file qgsmessagelog.cpp.
|
signal |