MET08THFTIRSTRATUS - v2.43.0 - Using EDA
Multiple Storage Paths and delete old way
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
using Adaptation._Tests.Shared.Log;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
@ -5,7 +6,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
||||
namespace Shared;
|
||||
namespace Adaptation._Tests.Shared;
|
||||
|
||||
public class LoggingUnitTesting : UnitTesting, IDisposable
|
||||
{
|
||||
@ -48,7 +49,7 @@ public class LoggingUnitTesting : UnitTesting, IDisposable
|
||||
configurationSection = _ConfigurationRoot.GetSection(section);
|
||||
if (configurationSection is null)
|
||||
logLevel = LogLevel.Debug;
|
||||
else if (!Enum.TryParse<LogLevel>(configurationSection.Value, out logLevel))
|
||||
else if (!Enum.TryParse(configurationSection.Value, out logLevel))
|
||||
logLevel = LogLevel.Debug;
|
||||
logLevels.Add(logLevel);
|
||||
}
|
||||
|
Reference in New Issue
Block a user