common/Log.hpp |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit dc20893e0e4edd13f5e9a113e080d6905edf7f7e
Author:     Samuel Mehrbrodt <[email protected]>
AuthorDate: Wed May 22 08:31:59 2019 +0200
Commit:     Michael Meeks <[email protected]>
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 <[email protected]>
    Tested-by: Samuel Mehrbrodt <[email protected]>
    (cherry picked from commit b40cf51181ecf6d65f25238b84da0f98176fc249)
    Reviewed-on: https://gerrit.libreoffice.org/73526
    Reviewed-by: Michael Meeks <[email protected]>
    Tested-by: Michael Meeks <[email protected]>

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())                           \
         {                                           \
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to