This backend SDK requires one of the Highlight frontend SDKs to be installed, so please make sure you've followed the fullstack mapping guide first.
highlight-go package with
highlight.Start starts a goroutine for recording and sending backend traces and errors. Setting your project id lets Highlight record errors for background tasks and processes that aren't associated with a frontend session.
highlightGin.Middleware() provides is a Go Gin compatible middleware.
If you want to explicitly send an error to Highlight, you can use the
Make a call to
highlight.RecordError to see the resulting error in Highlight.
Start sending logs to Highlight! Follow the logging setup guide to get started.