summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-05-22 08:31:59 +0200
committerMichael Meeks <michael.meeks@collabora.com>2019-06-05 11:10:13 +0200
commitdc20893e0e4edd13f5e9a113e080d6905edf7f7e (patch)
treed3e1be545ee07e7539501e412e250cba66a16d72
parentUse LO branding colors for loading progress bar (diff)
downloadonline-dc20893e0e4edd13f5e9a113e080d6905edf7f7e.tar.gz
online-dc20893e0e4edd13f5e9a113e080d6905edf7f7e.zip
Log fatal errors also to stderr
Change-Id: I5e6429ab007d13a2506c375923049b91c80ffba0 Reviewed-on: https://gerrit.libreoffice.org/72722 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> (cherry picked from commit b40cf51181ecf6d65f25238b84da0f98176fc249) Reviewed-on: https://gerrit.libreoffice.org/73526 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
-rw-r--r--common/Log.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/Log.hpp b/common/Log.hpp
index 50881f9413..5b7e77f915 100644
--- a/common/Log.hpp
+++ b/common/Log.hpp
@@ -15,6 +15,7 @@
#include <cstddef>
#include <functional>
+#include <iostream>
#include <thread>
#include <sstream>
#include <string>
@@ -341,6 +342,7 @@ namespace Log
#define LOG_FTL(X) \
do \
{ \
+ std::cerr << X << std::endl; \
auto &log_ = Log::logger(); \
if (log_.fatal()) \
{ \