forked from FarmMaps/FarmMapsApiClient
small naming fix
This commit is contained in:
parent
fefd348930
commit
1b6128f52a
@ -58,11 +58,11 @@ namespace FarmmapsApi
|
||||
|
||||
private static void ConfigureLogger(IServiceProvider serviceProvider)
|
||||
{
|
||||
var isService = Matching.FromSource("Microsoft");
|
||||
var isMicrosoftNamespace = Matching.FromSource("Microsoft");
|
||||
|
||||
Log.Logger = new LoggerConfiguration()
|
||||
.MinimumLevel.Information()
|
||||
.WriteTo.Logger(l => l.Filter.ByIncludingOnly(isService)
|
||||
.WriteTo.Logger(l => l.Filter.ByIncludingOnly(isMicrosoftNamespace)
|
||||
.WriteTo.Console(LogEventLevel.Warning))
|
||||
.WriteTo.File(path: "Logs/log.log", rollingInterval: RollingInterval.Day)
|
||||
.CreateLogger();
|
||||
|
Loading…
Reference in New Issue
Block a user