LootDumpProcessor/Model/Config/LoggerConfig.cs
2023-08-12 19:08:38 +01:00

16 lines
469 B
C#

using System.Text.Json.Serialization;
using LootDumpProcessor.Logger;
using Newtonsoft.Json;
namespace LootDumpProcessor.Model.Config;
public class LoggerConfig
{
[JsonProperty("logLevel")]
[JsonPropertyName("logLevel")]
public LogLevel LogLevel { get; set; } = LogLevel.Info;
[JsonProperty("queueLoggerPoolingTimeoutMs")]
[JsonPropertyName("queueLoggerPoolingTimeoutMs")]
public int QueueLoggerPoolingTimeoutMs { get; set; } = 1000;
}