title: C# Static Readonly log4net logger, any way to change logger in Unit Test?
body: <p>My class has this line:</p>
  
  <pre><code>private static readonly ILog log = LogManager.GetLogger(typeof(Prim));
  </code></pre>
  
  <p>When I go to unit test, I can't inject a moq logger into this interface so I could count log calls.</p>
  
  <p>Is there a way to do this?  Log4net recommends static readonly pattern for loggers.  What's best way to handle it?</p>