阅读背景:

如何临时禁用针对perf测试的log4net日志记录?

来源:互联网 

I have log4net loggers configured to run with my unit tests, but for a few select unit tests that serve as perf tests I want to disable logging. How can I disable (and later re-enable) logging at runtime, basically overriding the logger settings that are in my .config file?I have log4net loggers configured to run with m




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: