From d9e2581c9a38a90840aaf8e320c0d80cf50efcc7 Mon Sep 17 00:00:00 2001 From: Luke Waters Date: Thu, 19 Feb 2015 14:46:57 -0800 Subject: [PATCH] responding to interface break --- .../Microsoft.AspNet.Mvc.Core.Test/Logging/NullLoggerFactory.cs | 2 ++ .../Microsoft.AspNet.Mvc.Core.Test/Logging/TestLoggerFactory.cs | 2 ++ test/Microsoft.AspNet.Mvc.FunctionalTests/NullLoggerFactory.cs | 2 ++ .../Microsoft.AspNet.Mvc.FunctionalTests/TagHelperSampleTest.cs | 2 ++ 4 files changed, 8 insertions(+) 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) {