[Libreoffice-commits] online.git: Branch 'libreoffice-6-3' - common/Log.hpp
Samuel Mehrbrodt (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jun 5 09:10:31 UTC 2019
common/Log.hpp | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit dc20893e0e4edd13f5e9a113e080d6905edf7f7e
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Wed May 22 08:31:59 2019 +0200
Commit: Michael Meeks <michael.meeks at collabora.com>
CommitDate: Wed Jun 5 11:10:13 2019 +0200
Log fatal errors also to stderr
Change-Id: I5e6429ab007d13a2506c375923049b91c80ffba0
Reviewed-on: https://gerrit.libreoffice.org/72722
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
(cherry picked from commit b40cf51181ecf6d65f25238b84da0f98176fc249)
Reviewed-on: https://gerrit.libreoffice.org/73526
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
Tested-by: Michael Meeks <michael.meeks at collabora.com>
diff --git a/common/Log.hpp b/common/Log.hpp
index 50881f941..5b7e77f91 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()) \
{ \
More information about the Libreoffice-commits
mailing list