feat: add logging and timestamp options to NatsOptions
This commit is contained in:
@@ -47,6 +47,17 @@ public sealed class NatsOptions
|
|||||||
public string? PortsFileDir { get; set; }
|
public string? PortsFileDir { get; set; }
|
||||||
public string? ConfigFile { get; set; }
|
public string? ConfigFile { get; set; }
|
||||||
|
|
||||||
|
// Logging
|
||||||
|
public string? LogFile { get; set; }
|
||||||
|
public long LogSizeLimit { get; set; }
|
||||||
|
public int LogMaxFiles { get; set; }
|
||||||
|
public bool Debug { get; set; }
|
||||||
|
public bool Trace { get; set; }
|
||||||
|
public bool Logtime { get; set; } = true;
|
||||||
|
public bool LogtimeUTC { get; set; }
|
||||||
|
public bool Syslog { get; set; }
|
||||||
|
public string? RemoteSyslog { get; set; }
|
||||||
|
|
||||||
// Profiling (0 = disabled)
|
// Profiling (0 = disabled)
|
||||||
public int ProfPort { get; set; }
|
public int ProfPort { get; set; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user