Microsoft Logging application block and multi-threading

前端 未结 2 1134
有刺的猬
有刺的猬 2021-01-23 05:22

I am new to the Logging application block (4.1). Has anyone written an application that uses the Logging application block from multiple threads? I am asking because the Logger

2条回答
  •  旧时难觅i
    2021-01-23 06:10

    The Logging Application Block is thread safe, meaning you can call its public methods from multiple threads without doing any synchronization of your own. The library does its own synchronization.

提交回复
热议问题