/// <summary> /// This take care of specifying a logger, to prevent the internal logsource to write to it's own file. /// The code should still work if the mapping was already available before (which only works if the registration is /// done by name) /// </summary> static FileLogger() { // Make sure this class doesn't log into it's own file Log.LogTo(new NullLogger()); }
public void Setup() { _logSource.LogTo(_loggerUnderTest); }