-
I have a
the definitions are as follows:
I am trying to write unittests for this class, but the logs do not get flushed even after I use
Even at this point, the logs do not appear in the logfile, they appear only after the application exits. Is there something else I can do to force flush the logs? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The async logger is also asynchronous for flush operations. See also: #1696 EDIT: |
Beta Was this translation helpful? Give feedback.
The async logger is also asynchronous for flush operations.
The caller does not receive notification of flush completion.
See also: #1696
EDIT:
FileLogger::FlushSink()
is a synchronous operation, but if it is called before the log message reaches sink, there is no log to flush.