mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-13 21:54:13 +08:00
Standarlized Log Timeformat
This commit is contained in:
parent
3f9dd9719f
commit
3f63369eed
@ -47,7 +47,7 @@ func New(options Options) (Factory, error) {
|
|||||||
DisableColors: logOptions.DisableColor || logFilePath != "",
|
DisableColors: logOptions.DisableColor || logFilePath != "",
|
||||||
DisableTimestamp: !logOptions.Timestamp && logFilePath != "",
|
DisableTimestamp: !logOptions.Timestamp && logFilePath != "",
|
||||||
FullTimestamp: logOptions.Timestamp,
|
FullTimestamp: logOptions.Timestamp,
|
||||||
TimestampFormat: "2006-01-02T15:04:05-0700",
|
TimestampFormat: "2006-01-02T15:04:05Z07:00",
|
||||||
}
|
}
|
||||||
factory := NewDefaultFactory(
|
factory := NewDefaultFactory(
|
||||||
options.Context,
|
options.Context,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user