This commit is contained in:
2026-01-31 00:30:37 +01:00
parent 6eb0c604ac
commit 57f0e8030f
12 changed files with 326 additions and 245 deletions

View File

@@ -24,7 +24,7 @@ public class LoggerSettings
private FileLoggerOptions _fileLoggerOptions;
private string _headerFormat = "{ts} {tz} {host} {category} {thread} {sev}";
private string _headerFormat = "{ts} {tz} {host} {category} {thread} {LogType}";
private string _timestampFormat = "yyyy-MM-dd HH:mm:ss";
/// <summary>
@@ -51,8 +51,8 @@ public class LoggerSettings
/// {host}: Hostname
/// {category}: Category
/// {thread}: Thread ID
/// {sev}: Severity
/// Default: {ts} {tz} {host} {category} {thread} {sev}
/// {LogType}: LogType
/// Default: {ts} {tz} {host} {category} {thread} {LogType}
/// A space will be inserted between the header and the message.
/// </summary>
public string HeaderFormat