mirror of
https://github.com/LibreOffice/online.git
synced 2025-08-01 16:04:55 +00:00
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>
This commit is contained in:
@ -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()) \
|
||||
{ \
|
||||
|
Reference in New Issue
Block a user