Files
odfstudio/sal
Stephan Bergmann 91fb11d1b2 Atomically write line plus newline into $SAL_LOG_FILE
At least on Windows, I see log files in the wild that have multiple lines from
different threads combined into one.  This has apparently been broken by
9f02755955 "WNT: allow to set log level/path from
file" switching to a use of std::endl, for unclear reasons.  (But, compared to
the version preceding that, keep the

  s << '\n';

after the ANDROID and sal_use_syslog branches, assuming those don't want a
newline added anyway.)

Change-Id: Ie68e015e594918d3480d05c741f83948f1c3d69e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183718
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2025-04-10 12:03:05 +02:00
..
…
…
…
…

System Abstraction Layer (SAL)

System abstraction layer; rtl, osl and sal

rtl: Platform independent strings

osl: platform specific stuff, threads, dynamic loading, process, ipc, etc

Exports only C API and some inline-methods (only C++ API).