2024-04-16 18:29:40 +00:00
|
|
|
using System.Text.Json.Serialization;
|
2023-08-12 19:08:38 +01:00
|
|
|
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;
|
|
|
|
}
|