diff --git a/test/Microsoft.AspNet.Mvc.Core.Test/Logging/NullLoggerFactory.cs b/test/Microsoft.AspNet.Mvc.Core.Test/Logging/NullLoggerFactory.cs index cc2328b521..31cf88c656 100644 --- a/test/Microsoft.AspNet.Mvc.Core.Test/Logging/NullLoggerFactory.cs +++ b/test/Microsoft.AspNet.Mvc.Core.Test/Logging/NullLoggerFactory.cs @@ -9,6 +9,8 @@ namespace Microsoft.AspNet.Mvc { public static NullLoggerFactory Instance = new NullLoggerFactory(); + public LogLevel MinimumLevel { get; set; } + public ILogger Create(string name) { return NullLogger.Instance; diff --git a/test/Microsoft.AspNet.Mvc.Core.Test/Logging/TestLoggerFactory.cs b/test/Microsoft.AspNet.Mvc.Core.Test/Logging/TestLoggerFactory.cs index 3cb881b4f8..eaf4d1a644 100644 --- a/test/Microsoft.AspNet.Mvc.Core.Test/Logging/TestLoggerFactory.cs +++ b/test/Microsoft.AspNet.Mvc.Core.Test/Logging/TestLoggerFactory.cs @@ -14,6 +14,8 @@ namespace Microsoft.AspNet.Mvc _sink = sink; } + public LogLevel MinimumLevel { get; set; } + public ILogger Create(string name) { return new TestLogger(name, _sink); diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/NullLoggerFactory.cs b/test/Microsoft.AspNet.Mvc.FunctionalTests/NullLoggerFactory.cs index f4b9111a44..214769ef65 100644 --- a/test/Microsoft.AspNet.Mvc.FunctionalTests/NullLoggerFactory.cs +++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/NullLoggerFactory.cs @@ -8,6 +8,8 @@ namespace Microsoft.AspNet.Mvc { public class NullLoggerFactory : ILoggerFactory { + public LogLevel MinimumLevel { get; set; } + public static NullLoggerFactory Instance = new NullLoggerFactory(); public ILogger Create(string name) diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/TagHelperSampleTest.cs b/test/Microsoft.AspNet.Mvc.FunctionalTests/TagHelperSampleTest.cs index c4eda3e9dc..095ad705d4 100644 --- a/test/Microsoft.AspNet.Mvc.FunctionalTests/TagHelperSampleTest.cs +++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/TagHelperSampleTest.cs @@ -62,6 +62,8 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests private class TestLoggerFactory : ILoggerFactory { + public LogLevel MinimumLevel { get; set; } + public void AddProvider(ILoggerProvider provider) {