优化日志
This commit is contained in:
parent
2217959df3
commit
e84f409431
@ -14,7 +14,10 @@ type ChatConfig struct {
|
||||
|
||||
func InitLog() {
|
||||
log.Open("./log/chat.log", log.DebugL)
|
||||
log.Info("\n\n\ninit log success")
|
||||
log.Info("")
|
||||
log.Info("")
|
||||
log.Info("")
|
||||
log.Info("-----init log success-----")
|
||||
}
|
||||
|
||||
func LoadConfig(GitCommit, GitBranch, BuildDate string) {
|
||||
|
@ -23,7 +23,10 @@ type GateConfig struct {
|
||||
|
||||
func InitLog() {
|
||||
log.Open("./log/gate.log", log.DebugL)
|
||||
log.Info("\n\n\ninit log success")
|
||||
log.Info("")
|
||||
log.Info("")
|
||||
log.Info("")
|
||||
log.Info("-----init log success-----")
|
||||
}
|
||||
|
||||
func LoadConfig(GitCommit, GitBranch, BuildDate string) {
|
||||
|
@ -14,7 +14,10 @@ type LoginConfig struct {
|
||||
|
||||
func InitLog() {
|
||||
log.Open("./log/login.log", log.DebugL)
|
||||
log.Info("\n\n\ninit log success")
|
||||
log.Info("")
|
||||
log.Info("")
|
||||
log.Info("")
|
||||
log.Info("-----init log success-----")
|
||||
}
|
||||
|
||||
func LoadConfig(GitCommit, GitBranch, BuildDate string) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user