QGIS API Documentation
2.6.0-Brighton
|
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.
|
static |
|
static |
add a message to the instance (and create it if necessary)
|
signal |