Updated (added more header options)

This commit is contained in:
2026-01-30 20:40:41 +01:00
parent f18456e263
commit 04a807df4f
9 changed files with 512 additions and 390 deletions

View File

@@ -1,11 +1,12 @@
using System;
using System.Collections.Generic;
using System.Net.Sockets;
using System.Text.RegularExpressions;
using EonaCat.Json.Linq;
using EonaCat.Json.Linq;
using EonaCat.Logger.EonaCatCoreLogger;
using EonaCat.Logger.EonaCatCoreLogger.Models;
using EonaCat.Logger.Servers.GrayLog;
using System;
using System.Collections.Generic;
using System.Net.Sockets;
using System.Text.RegularExpressions;
using static EonaCat.Logger.Managers.LogHelper;
namespace EonaCat.Logger.Managers;
// This file is part of the EonaCat project(s) which is released under the Apache License.
@@ -60,6 +61,10 @@ public class LoggerSettings
}
}
public Func<HeaderContext, string> CustomHeaderFormatter { get; set; }
public string EnvironmentName { get; set; }
/// <summary>
/// Timestamp format.
/// </summary>