add gf.debug options and GF_DEBUG env control params for internal logging feature

This commit is contained in:
John
2020-02-22 14:51:44 +08:00
parent 745a913cfb
commit d8ef8a1f5d
4 changed files with 15 additions and 13 deletions

View File

@ -340,7 +340,7 @@ func (s *Server) Start() error {
}
})
}
if intlog.IsInGFDevelop() {
if intlog.IsGFDebug() {
intlog.Print("server configuration:")
gutil.Dump(s.config)
}