Documentation ¶
Index ¶
- func ApplicationName() string
- func Caller() (function, file string, line int)
- func CatchPanic(format string, a ...any)
- func Debug() bool
- func FuncInfo(v any) (nameOfFunction, filename string, lineNumber int)
- func FuncName(v any) (nameOfFunction string)
- func GoMaxProcs(n ...int)
- func IgnorePanic(format string, a ...any)
- func IgnorePanicAndNoLog()
- func SetDebug(enable bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IgnorePanic ¶ added in v1.16.7
IgnorePanic 通用捕获panic, 忽略异常, 继续执行
func IgnorePanicAndNoLog ¶ added in v1.18.9
func IgnorePanicAndNoLog()
IgnorePanicAndNoLog 忽略panic且不记录日志
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.