mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-13 21:54:13 +08:00
Merge 4b70971495d7de9d78224362d8216407abd4cc54 into bb7b29923a72ce5c56fe00f56ccd9b469313e260
This commit is contained in:
commit
99e86abe18
@ -45,7 +45,7 @@ func New(options Options) (Factory, error) {
|
||||
logFormatter := Formatter{
|
||||
BaseTime: options.BaseTime,
|
||||
DisableColors: logOptions.DisableColor || logFilePath != "",
|
||||
DisableTimestamp: !logOptions.Timestamp && logFilePath != "",
|
||||
DisableTimestamp: !logOptions.Timestamp,
|
||||
FullTimestamp: logOptions.Timestamp,
|
||||
TimestampFormat: "-0700 2006-01-02 15:04:05",
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user