I'm a little confused about NLog's behivor when I set async=true
in NLog's configuration file.
- Is the timestamp in the log file present the time when
logger.Debug/Error/Info/Trace
is called, or is it the time that the log got written from buffer to file on the file system? - Answer Nlog Async and Log Sequence mentioned that the order of the log sequence is not guaranteed when async is on, is that true?
- If I set
async=true
, does it has influence to the result when doing performance testing?