QGIS API Documentation  2.0.1-Dufour
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Public Member Functions | List of all members
QgsMessageLogConsole Class Reference

Default implementation of message logging interface. More...

#include <qgsmessagelog.h>

Public Slots

void logMessage (QString message, QString tag, QgsMessageLog::MessageLevel level)

Public Member Functions

 QgsMessageLogConsole ()

Detailed Description

Default implementation of message logging interface.

This class outputs log messages to the standard output. Therefore it might be the right choice for apps without GUI.

Definition at line 68 of file qgsmessagelog.h.

Constructor & Destructor Documentation

QgsMessageLogConsole::QgsMessageLogConsole ( )

Definition at line 55 of file qgsmessagelog.cpp.

References QgsMessageLog::instance(), and logMessage().

Member Function Documentation

void QgsMessageLogConsole::logMessage ( QString  message,
QString  tag,
QgsMessageLog::MessageLevel  level 
)
slot

Definition at line 62 of file qgsmessagelog.cpp.

References QgsMessageLog::INFO, and QgsMessageLog::WARNING.

Referenced by QgsMessageLogConsole().


The documentation for this class was generated from the following files: