We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 750dd3f commit 679548fCopy full SHA for 679548f
cmd/main.go
@@ -29,7 +29,7 @@ func main() {
29
simulatorRepository := repo.NewSimulatorRepository()
30
simulatorController := cnt.NewSimulatorController(simulatorRepository)
31
simulatorController.GetInstance()
32
- log.Println("LWN Simulator is ready to start...")
+ log.Printf("LWN Simulator (%s) is ready to start...\n", shared.Version)
33
// Start the metrics server.
34
go startMetrics(cfg)
35
// If the autoStart flag is set to true, start the simulator automatically.
shared/shared.go
@@ -5,6 +5,9 @@ import "log"
5
// Verbose flag
6
var Verbose bool = false
7
8
+// Version of the simulator
9
+const Version = "1.0.3"
10
+
11
func DebugPrint(msg string) {
12
if Verbose {
13
log.Printf("[DEBUG]: %s", msg)
0 commit comments