Skip to content

Commit

Permalink
fix: use correct Go import for slog package (#909)
Browse files Browse the repository at this point in the history
Co-authored-by: jj <[email protected]>
  • Loading branch information
josejibin and jj authored Nov 29, 2024
1 parent 10bed82 commit fc433de
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions slog/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@

# Official Sentry Integration for slog

**Go.dev Documentation:** https://pkg.go.dev/github.com/getsentry/sentry-go/sentryslog
**Go.dev Documentation:** https://pkg.go.dev/github.com/getsentry/sentry-go/slog
**Example Usage:** https://github.com/getsentry/sentry-go/tree/master/_examples/slog

---

## Installation

```sh
go get github.com/getsentry/sentry-go/sentryslog
go get github.com/getsentry/sentry-go/slog

```

## Usage
Expand All @@ -28,7 +29,7 @@ import (
"log/slog"

"github.com/getsentry/sentry-go"
"github.com/your-repo/slog-sentry"
slogSentry "github.com/getsentry/sentry-go/slog"
)

func main() {
Expand Down

0 comments on commit fc433de

Please sign in to comment.