update README

This commit is contained in:
zhuyasen
2024-07-30 21:20:01 +08:00
parent c781fc99f7
commit a1af23f08f
12 changed files with 54 additions and 36 deletions

View File

@@ -49,7 +49,7 @@ func InitApp() {
panic(err)
}
logger.Debug(config.Show())
logger.Info("init logger succeeded")
logger.Info("[logger] was initialized")
// initializing tracing
if cfg.App.EnableTrace {
@@ -61,7 +61,7 @@ func InitApp() {
strconv.Itoa(cfg.Jaeger.AgentPort),
cfg.App.TracingSamplingRate,
)
logger.Info("init tracer succeeded")
logger.Info("[tracer] was initialized")
}
// initializing the rpc server connection
@@ -74,7 +74,7 @@ func InitApp() {
stat.WithLog(logger.Get()),
stat.WithAlarm(), // invalid if it is windows, the default threshold for cpu and memory is 0.8, you can modify them
)
logger.Info("init statistics succeeded")
logger.Info("[resource statistics] was initialized")
}
}