Skip to content

Commit

Permalink
feat(log): change slog import path
Browse files Browse the repository at this point in the history
Signed-off-by: Dwi Siswanto <[email protected]>
  • Loading branch information
dwisiswant0 committed Dec 23, 2023
1 parent 267516f commit 4fe5af5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
6 changes: 3 additions & 3 deletions log/slog/adapter.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// Package slog provides a logger that writes to a
// golang.org/x/exp/slog.Logger and implements the
// Package slog provides a logger that writes
// to a log/slog.Logger and implements the
// golang.ngrok.com/ngrok/log.Logger interface.
package slog

import (
"context"
"fmt"

"golang.org/x/exp/slog"
"log/slog"
)

type LogLevel = int
Expand Down
2 changes: 0 additions & 2 deletions log/slog/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
module golang.ngrok.com/ngrok/log/slog

go 1.20

require golang.org/x/exp v0.0.0-20230307190834-24139beb5833
2 changes: 0 additions & 2 deletions log/slog/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
golang.org/x/exp v0.0.0-20230307190834-24139beb5833 h1:SChBja7BCQewoTAU7IgvucQKMIXrEpFxNMs0spT3/5s=
golang.org/x/exp v0.0.0-20230307190834-24139beb5833/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=

0 comments on commit 4fe5af5

Please sign in to comment.