Log4Net FileAppender not thread safe?

后端 未结 1 1312
萌比男神i
萌比男神i 2021-01-01 23:45

I need to log to a file because the customer doesn\'t have a console of something where I can log to with log4net. Now I read that the FileAppender is not thread safe. Is th

1条回答
  •  爱一瞬间的悲伤
    2021-01-02 00:12

    Log4Net itself is thread-safe even if FileAppender isn't - the framework manages everything for you. So long as you log in the normal way (rather than directly writing to the appender) you should be fine.

    0 讨论(0)
提交回复
热议问题