diff --git a/README.md b/README.md index 8721d2b..765b8ad 100644 --- a/README.md +++ b/README.md @@ -43,16 +43,16 @@ A [Logrus](https://github.com/sirupsen/logrus) Handler for [slog](https://pkg.go ## 🚀 Install ```sh -go get github.com/samber/slog-logrus +go get github.com/samber/slog-logrus/v2 ``` **Compatibility**: go >= 1.21 -No breaking changes will be made to exported APIs before v2.0.0. +No breaking changes will be made to exported APIs before v3.0.0. ## 💡 Usage -GoDoc: [https://pkg.go.dev/github.com/samber/slog-logrus](https://pkg.go.dev/github.com/samber/slog-logrus) +GoDoc: [https://pkg.go.dev/github.com/samber/slog-logrus/v2](https://pkg.go.dev/github.com/samber/slog-logrus/v2) ### Handler options @@ -84,7 +84,7 @@ sloglogrus.ErrorKeys = []string{"error", "err"} ```go import ( - sloglogrus "github.com/samber/slog-logrus" + sloglogrus "github.com/samber/slog-logrus/v2" "github.com/sirupsen/logrus" "log/slog" ) diff --git a/example/example.go b/example/example.go index 6f14bb2..78957ab 100644 --- a/example/example.go +++ b/example/example.go @@ -6,7 +6,7 @@ import ( "log/slog" - sloglogrus "github.com/samber/slog-logrus" + sloglogrus "github.com/samber/slog-logrus/v2" "github.com/sirupsen/logrus" ) diff --git a/go.mod b/go.mod index c3d8263..48c2c8d 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/samber/slog-logrus +module github.com/samber/slog-logrus/v2 go 1.21