Categorygithub.com/tenminschool/sentry-logger-go
modulepackage
0.0.7
Repository: https://github.com/tenminschool/sentry-logger-go.git
Documentation: pkg.go.dev

# README

Sentry Error Logger for Go

This repository provides a simple way to integrate Sentry error logging into your Go application using the sentry-logger-go package.

Installation

To use sentry-logger-go, you need to download it first. You can do this by running:

go get github.com/tenminschool/sentry-logger-go

Usages

Add a router middleware to capture all api's error

artifact.Router.Use(sentryLoggerGo.SentryMiddleware)

Sentry init

sentryLoggerGo.SentryInit(Config.GetString("App.SentryDsn"))

# Functions

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author