Skip to content

Commit

Permalink
fix MemoryConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
304NotModified committed Apr 27, 2019
1 parent d19cf39 commit 37abc56
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Configuration;
using NLog.Targets;
Expand Down Expand Up @@ -159,7 +160,7 @@ private static NLogLoggingConfiguration CreateNLogLoggingConfigurationWithNLogSe

private static Dictionary<string, string> CreateMemoryConfigConsoleTargetAndRule()
{
var memoryConfig = new Dictionary<string, string>();
var memoryConfig = new Dictionary<string, string>(StringComparer.CurrentCultureIgnoreCase);
memoryConfig["NLog:Rules:0:logger"] = "*";
memoryConfig["NLog:Rules:0:minLevel"] = "Trace";
memoryConfig["NLog:Rules:0:writeTo"] = "File,Console";
Expand Down

0 comments on commit 37abc56

Please sign in to comment.