summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2018-05-09 14:19:00 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2018-05-10 17:17:01 +0200
commitc4380ced324877a91a6df5db938c70ab53a257a1 (patch)
tree5eb08889cf5d9d5b2cd5454214065c168fda27fe /sal
parent8f799c45659a2f5dd79941aa35d75486e5794eff (diff)
sal: log windows traces to debugger console, take two
This reverts most of commit 4c5b4752786ae2c174cd8fa8aa42b27a0994f34a and just keeps the OutputDebugStringA() call unconditionally. Change-Id: Ia838052b3147ca2d66c7d28b04eadd9700244669 Reviewed-on: https://gerrit.libreoffice.org/54029 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/all/log.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx
index 25662507ce18..6a5884211949 100644
--- a/sal/osl/all/log.cxx
+++ b/sal/osl/all/log.cxx
@@ -22,7 +22,6 @@
#include <fstream>
#include <config_global.h>
-#include <config_options.h>
#include <osl/thread.hxx>
#include <rtl/string.h>
#include <sal/detail/log.h>
@@ -331,12 +330,9 @@ void sal_detail_log(
// write to Windows debugger console, too
OutputDebugStringA(s.str().c_str());
#endif
-#if ! (defined(WNT) && ENABLE_RELEASE_BUILD)
- // on Windows deployments, no one reads console output
s << '\n';
std::fputs(s.str().c_str(), stderr);
std::fflush(stderr);
-#endif
}
}
#endif