QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
16 #ifndef QGSMESSAGELOG_H
17 #define QGSMESSAGELOG_H
22 #include "qgis_core.h"
82 void emitMessage(
const QString &message,
const QString &tag,
Qgis::MessageLevel level,
bool notifyUser =
true );
84 int mAdviseBlockCount = 0;
168 virtual void logMessage(
const QString &message,
const QString &tag,
Qgis::MessageLevel level );
QgsMessageLog()=default
Constructor for QgsMessageLog.
Temporarily blocks the application QgsMessageLog (see QgsApplication::messageLog()) from emitting the...
void messageReceived(bool received)
Emitted whenever the log receives a message which is not a Qgis::Info level message and which has the...
QgsMessageLogNotifyBlocker(const QgsMessageLogNotifyBlocker &other)=delete
QgsMessageLogNotifyBlocker cannot be copied.
void messageReceived(const QString &message, const QString &tag, Qgis::MessageLevel level)
Emitted whenever the log receives a message.
Interface for logging messages from QGIS in GUI independent way.
MessageLevel
Level for messages This will be used both for message log and message bar in application.
QgsMessageLogNotifyBlocker & operator=(const QgsMessageLogNotifyBlocker &other)=delete
QgsMessageLogNotifyBlocker cannot be copied.
Default implementation of message logging interface.