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