command
Version:
v0.0.0-...-f10d331
Opens a new window with list of versions in this module.
Published: Dec 8, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
报告错误,error
注意点
- 设置User信息,
raven.SetUserContext(&raven.User{ID: "123", Email: "136542728@qq.com"})
- 设置tag信息,
raven.CaptureErrorAndWait(errors.New("a > 6"), map[string]string{"myErrorCode": "999001"})
运行结果
设置SetUserContext
设置tag
参考资料
https://blog.sentry.io/2015/07/07/logging-go-errors
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.