You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using Microsoft.Extensions.Logging;
- using Xunit.Abstractions;
-
- namespace DotNetCore.CAP.Test.Helpers
- {
- public class TestLoggingProvider : ILoggerProvider
- {
- private readonly ITestOutputHelper _outputHelper;
-
- public TestLoggingProvider(ITestOutputHelper outputHelper)
- {
- _outputHelper = outputHelper;
- }
-
- public void Dispose()
- {
- }
-
- public ILogger CreateLogger(string categoryName)
- {
- return new TestLogger(_outputHelper, categoryName);
- }
- }
- }
|