filter key updates for stack information
@@ -11,8 +11,12 @@ import (
)
const (
- commandEnvKeyForDebugKey = "gf.debug" // Debug key for checking if in debug mode.
- StackFilterKeyForGoFrame = "github.com/gogf/gf@" // Stack filtering key for all GoFrame module paths.
+ // Debug key for checking if in debug mode.
+ commandEnvKeyForDebugKey = "gf.debug"
+
+ // StackFilterKeyForGoFrame is the stack filtering key for all GoFrame module paths.
+ // Eg: .../pkg/mod/github.com/gogf/gf/v2@v2.0.0-20211011134327-54dd11f51122/debug/gdebug/gdebug_caller.go
+ StackFilterKeyForGoFrame = "github.com/gogf/gf/v"
)
var (
