18 #ifndef QGSSERVERLOGGER_H
19 #define QGSSERVERLOGGER_H
27 #include <QTextStream>
28 #include "qgis_server.h"
62 void setLogFile(
const QString &filename = QString() );
88 bool mLogStderr =
false;
89 QTextStream mTextStream;
MessageLevel
Level for messages This will be used both for message log and message bar in application.
Default implementation of message logging interface.
virtual void logMessage(const QString &message, const QString &tag, Qgis::MessageLevel level)
Logs a message to stderr.
Writes message log into server logfile.
Qgis::MessageLevel logLevel() const
Gets the current log level.