Skip to content

Commit

Permalink
Merge pull request #7693 from pblottiere/cerr
Browse files Browse the repository at this point in the history
QgsMessageLogConsole in cerr
  • Loading branch information
pblottiere committed Aug 26, 2018
2 parents a6e0e39 + f710a09 commit e32c738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsmessagelog.cpp
Expand Up @@ -47,7 +47,7 @@ QgsMessageLogConsole::QgsMessageLogConsole()

void QgsMessageLogConsole::logMessage( const QString &message, const QString &tag, Qgis::MessageLevel level )
{
std::cout
std::cerr
<< tag.toLocal8Bit().data() << "[" <<
( level == Qgis::Info ? "INFO"
: level == Qgis::Warning ? "WARNING"
Expand Down

0 comments on commit e32c738

Please sign in to comment.