Skip to content

Commit

Permalink
solve log/slog interface problem
Browse files Browse the repository at this point in the history
  • Loading branch information
NebojsaHorvat committed Jan 31, 2025
1 parent 6fa7b23 commit 9c6ecdd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion log/format.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"unicode/utf8"

"github.com/holiman/uint256"
"golang.org/x/exp/slog"
"log/slog"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion log/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"time"

"github.com/holiman/uint256"
"golang.org/x/exp/slog"
"log/slog"
)

type discardHandler struct{}
Expand Down
2 changes: 1 addition & 1 deletion log/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"time"

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

const errorKey = "LOG_ERROR"
Expand Down
2 changes: 1 addition & 1 deletion plugin/evm/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

"github.com/ava-labs/coreth/log"
gethlog "github.com/ethereum/go-ethereum/log"
"golang.org/x/exp/slog"
"log/slog"
)

type CorethLogger struct {
Expand Down

0 comments on commit 9c6ecdd

Please sign in to comment.