16#ifndef QGSMESSAGELOG_H
17#define QGSMESSAGELOG_H
83 void emitMessage(
const QString &message,
const QString &tag,
Qgis::MessageLevel level,
bool notifyUser =
true );
85 int mAdviseBlockCount = 0;
169 virtual void logMessage(
const QString &message,
const QString &tag,
Qgis::MessageLevel level );
MessageLevel
Level for messages This will be used both for message log and message bar in application.
@ Warning
Warning message.
@ Info
Information message.
Default implementation of message logging interface.
Temporarily blocks the application QgsMessageLog (see QgsApplication::messageLog()) from emitting the...
QgsMessageLogNotifyBlocker(const QgsMessageLogNotifyBlocker &other)=delete
QgsMessageLogNotifyBlocker cannot be copied.
QgsMessageLogNotifyBlocker & operator=(const QgsMessageLogNotifyBlocker &other)=delete
QgsMessageLogNotifyBlocker cannot be copied.
Interface for logging messages from QGIS in GUI independent way.
void messageReceived(const QString &message, const QString &tag, Qgis::MessageLevel level)
Emitted whenever the log receives a message.
void messageReceived(bool received)
Emitted whenever the log receives a message which is not a Qgis::MessageLevel::Info level message and...
QgsMessageLog()=default
Constructor for QgsMessageLog.