Browse Source

Fixed min log level using email level config option

master
Teknikode 6 years ago
parent
commit
7214185167
  1. 2
      Utilities/Logging/Logger.cs

2
Utilities/Logging/Logger.cs

@ -54,7 +54,7 @@ namespace Teknik.Logging @@ -54,7 +54,7 @@ namespace Teknik.Logging
{
// Do we want to write a log for this level? (Default to Error)
LogLevel minLogLevel = LogLevel.Error;
Enum.TryParse(config.LoggingConfig.EmailLevel, out minLogLevel);
Enum.TryParse(config.LoggingConfig.LogLevel, out minLogLevel);
try
{

Loading…
Cancel
Save