Skip to content

Commit 72afc8f

Browse files
committed
Added missing config file.
1 parent afc0dd1 commit 72afc8f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

samples/LoggingReflectInsight/WebApi.ReflectInsightSample/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public void ConfigureServices(IServiceCollection services)
6161
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
6262
{
6363
loggerFactory.MinimumLevel = LogLevel.Debug;
64-
loggerFactory.AddReflectInsight("ReflectInsight");
64+
loggerFactory.AddReflectInsight("ReflectInsight.config");
6565

6666
app.UseIISPlatformHandler();
6767
app.UseMvc();

src/AspNet.Plus.Logging.ReflectInsight/ReflectInsightLoggerFactoryExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public static class ReflectInsightLoggerFactoryExtensions
1919
/// <returns></returns>
2020
public static ILoggerFactory AddReflectInsight(this ILoggerFactory factory, string configFile = "ReflectInsight.config")
2121
{
22-
factory.AddProvider(new ReflectInsightLoggerProvider());
22+
factory.AddProvider(new ReflectInsightLoggerProvider(configFile));
2323
return factory;
2424
}
2525
}

0 commit comments

Comments
 (0)