示例#1
0
 public void TestParentNamespaceWithChildren()
 {
     var filter = new NamespaceFilter("Griffin.Logging.Tests", true);
     Assert.True(filter.CanLog(GetType(), LogLevel.Debug));
 }
示例#2
0
 public void TestThisNamespaceWithoutChildren()
 {
     var filter = new NamespaceFilter("Griffin.Logging.Tests.Filters", false);
     Assert.True(filter.CanLog(GetType(), LogLevel.Debug));
 }
示例#3
0
 public void TestOtherNamespaceWithoutChildren()
 {
     var filter = new NamespaceFilter("Bajs", false);
     Assert.False(filter.CanLog(GetType(), LogLevel.Debug));
 }