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

@ -132,7 +132,7 @@ func formatSubStack(st stack, buffer *bytes.Buffer) {
continue
}
// Avoid GF stacks if not in GF development.
if !intlog.IsInGFDevelop() {
if !intlog.IsGFDebug() {
if strings.Contains(file, "github.com/gogf/gf/") {
continue
}