From 527caa3711a1dc3e29fd2a62549d4b1efdd64a77 Mon Sep 17 00:00:00 2001 From: RPRX <63339210+RPRX@users.noreply.github.com> Date: Thu, 6 Feb 2025 07:50:48 +0000 Subject: [PATCH] Log: Add microseconds for golang's standard logger Completes https://github.com/XTLS/Xray-core/commit/5679d717eef23f48d4f60a0a34684f46c478e053 --- main/run.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main/run.go b/main/run.go index 4134fb64..f74085d8 100644 --- a/main/run.go +++ b/main/run.go @@ -45,6 +45,7 @@ The -dump flag tells Xray to print the merged config. func init() { cmdRun.Run = executeRun // break init loop + log.SetFlags(log.Ldate | log.Ltime | log.Lmicroseconds) } var (