Skip to content

Commit 49f0403

Browse files
committed
fix log level not being serialized as a string in ClientConfiguration
1 parent 695cb5a commit 49f0403

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Framework/Intersect.Framework.Core/Configuration/ClientConfiguration.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using Intersect.Utilities;
55
using Microsoft.Extensions.Logging;
66
using Newtonsoft.Json;
7+
using Newtonsoft.Json.Converters;
78

89
namespace Intersect.Configuration;
910

@@ -259,6 +260,7 @@ public void Validate()
259260
#region Hidden Properties
260261

261262
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
263+
[JsonConverter(typeof(StringEnumConverter))]
262264
[DefaultValue(LogLevel.Information)]
263265
public LogLevel LogLevel { get; set; } = LogLevel.Information;
264266

0 commit comments

Comments
 (0)