How to disable logging for specific method call in code with Log4net

197 Views Asked by At

I'm facing a trouble with spammed log while calling the method from one of my referenced assemblies.

Is there a good way to disable Log4net logging for one specific method call (in code where I call my method).

Note: I do not want to disable logging at all, just in one specific place for one specific method call.

Thanks in advance, Yurii

0

There are 0 best solutions below