26 QgsMessageLog::QgsMessageLog()
36 qRegisterMetaType<QgsMessageLog::MessageLevel>(
"QgsMessageLog::MessageLevel" );
52 emit messageReceived( message, tag, level );
55 emit messageReceived(
true );
void logMessage(const QString &message, const QString &tag, QgsMessageLog::MessageLevel level)
static void logMessage(const QString &message, const QString &tag=QString::null, MessageLevel level=WARNING)
add a message to the instance (and create it if necessary)
Default implementation of message logging interface.
QByteArray toLocal8Bit() const
QDateTime currentDateTime()
static QgsMessageLog * instance()
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Interface for logging messages from QGIS in GUI independent way.