Documentation
¶
Index ¶
Constants ¶
View Source
const ( EventType = "event" EventSource = "source" EventMessage = "message" EventStack = "stack" EventException = "exception" )
Variables ¶
Functions ¶
func GetCurrentError ¶
Get the current error with the fixed stacktrace
func LogError ¶
func LogError(span opentracing.Span, recoverData interface{}, skipFrames int)
Write exception event in span using the recover data from panic
Types ¶
Source Files
¶
- handler.go
Click to show internal directories.
Click to hide internal directories.