public TestOutputLogger(TestOutputLoggerFactory factory, Func <LogLevel, bool> filter)
 {
     _factory = factory;
     _filter  = filter;
 }
 public TestOutputLogger(TestOutputLoggerFactory factory, bool enabled)
     : this(factory, _ => enabled)
 {
 }