Граф коммитов

4 Коммитов

Автор SHA1 Сообщение Дата
Paul Adenot 6a6113b6ff Add a test to stress test the asynchronous logging system 2022-12-12 12:03:47 +01:00
Paul Adenot cfc5692bf7 Account for the fact that some OSes have longer callback duration and async logging is batched 2022-12-05 17:27:36 +01:00
Paul Adenot b8765e132d Inline values for stream params in test_logging.cpp, undef defines in test to avoid breaking unified builds when building tests in Firefox. 2022-12-02 15:40:20 +01:00
Paul Adenot 7f5589a431 Allow dynamic enabling and disabling of the log, add tests for the logging system.
Also clear out the memory used by the async logger when it's shut down.

This relies on the fact that enabling and disabling logging is performed
on the same thread, but I think this is a reasonnable thing to do. We
could assert it though.
2022-12-02 14:17:18 +01:00