Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
func Middleware() echo.MiddlewareFunc
Middleware returns an echo middleware which recovers from panics anywhere in the chain and logs to the sentry server specified in DSN.
func SetTags ¶
func SetTags(fn TagsFunc)
Sets any other additional tags to be captured by Sentry. Tags can be extracted from the current request context or just static tags, e.g. tags["app_version"] = appVersion.
func WithContext ¶
func WithContext(yepnope bool)
WithContext sets weather or not the HTTP context is sent with the log. This adds info about the user's browser, URL, OS, device, interface_type ..etc
Types ¶
Click to show internal directories.
Click to hide internal directories.