From 0b7da58b172f4258a7e173adc1189a20a66db81d Mon Sep 17 00:00:00 2001 From: Thibaud Desodt Date: Fri, 15 Sep 2017 16:58:55 +0200 Subject: [PATCH] Some more passing tests around child logger overrides --- test/Serilog.Tests/Core/ChildLoggerTests.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/Serilog.Tests/Core/ChildLoggerTests.cs b/test/Serilog.Tests/Core/ChildLoggerTests.cs index 4420ff98c..6b8883c1c 100644 --- a/test/Serilog.Tests/Core/ChildLoggerTests.cs +++ b/test/Serilog.Tests/Core/ChildLoggerTests.cs @@ -199,6 +199,10 @@ public void WriteToLoggerMinimumLevelInheritanceScenarios( [InlineData("xx", +1, null, +0, true)] [InlineData("Root.xx", +1, null, +0, true)] [InlineData("Root.N1.xx", +1, null, +0, true)] + // - child overrides on irrelevant namespaces + [InlineData(null, +0, "xx", +1, true)] + [InlineData(null, +0, "Root.xx", +1, true)] + [InlineData(null, +1, "Root.N1.xx", +1, true)] // - root overrides prevent all processing from children // even though children would happily accept it [InlineData("Root", +1, null, +0, false)]