Skip to content

Commit

Permalink
Log into cerr instead of cout
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Aug 23, 2018
1 parent 51ec333 commit f710a09
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 f710a09

Please sign in to comment.