9 Commits

Author SHA1 Message Date
Éric Lemoine
9eaee8f1be Make QgsMessageLogConsole::logMessage virtual 2018-09-14 09:08:21 +02:00
Éric Lemoine
b16aa15f06 Improve qgsmessagelog doc strings 2018-09-13 09:32:10 +02:00
Éric Lemoine
504657ed51 Add docs for more QgsMessageLogConsole methods 2018-09-11 21:57:42 +02:00
Éric Lemoine
212a74cea1 Fix the QgsMessageLogConsole docs
The QgsMessageLogConsole now writes log messages to stderr as opposed
to stdout.
2018-09-11 21:57:42 +02:00
Éric Lemoine
e33954c1c3 [FEATURE][needs-doc] Support QGIS Server logs to stderr
This commit makes it possible to configure QGIS Server to make it
write its logs to stderr.

This is done by setting the QGIS_SERVER_LOG_FILE env var to the
special value "stderr".
2018-09-11 21:57:42 +02:00
Nyall Dawson
077ecedfc5 Unit tests for QgsMessageLog 2018-06-19 06:23:58 +10:00
Nyall Dawson
949853a0e0 Add API for temporarily suppressing user notifications for
message log critical/warning messages

These messages are still logged, but the log indicator is not
modified to flag their appearance.

This allows certain error messages to be logged (e.g. on startup)
which cannot be fixed by users/developers (e.g. those caused
by upstream Qt issues, 3rd party Python libraries, etc) but
without flagging them.

Currently, we get so many of these warnings on startup that the
log indicator loses all impact, and newly introduced, VALID
errors go unnoticed/ignored.
2018-06-19 06:23:58 +10:00
Nyall Dawson
f8bc97030b Remove extra space added before first line of docstring 2018-05-28 08:22:11 +10:00
Denis Rouzaud
7df2593caf move auto generated sip file in dedicated folder 2018-05-14 10:23:37 -04:00