Selaa lähdekoodia

print version when starts

Darien Raymond 7 vuotta sitten
vanhempi
commit
a4f6ee6718
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      v2ray.go

+ 1 - 1
v2ray.go

@@ -124,7 +124,7 @@ func (s *Instance) Start() error {
 		}
 	}
 
-	newError("V2Ray started").AtWarning().WriteToLog()
+	newError("V2Ray ", Version(), " started with id ", s.ID()).AtWarning().WriteToLog()
 
 	return nil
 }