Updated (added more header options)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user