forked from cerc-io/plugeth
28e7371701
This PR replaces Geth's logger package (a fork of [log15](https://github.com/inconshreveable/log15)) with an implementation using slog, a logging library included as part of the Go standard library as of Go1.21. Main changes are as follows: * removes any log handlers that were unused in the Geth codebase. * Json, logfmt, and terminal formatters are now slog handlers. * Verbosity level constants are changed to match slog constant values. Internal translation is done to make this opaque to the user and backwards compatible with existing `--verbosity` and `--vmodule` options. * `--log.backtraceat` and `--log.debug` are removed. The external-facing API is largely the same as the existing Geth logger. Logger method signatures remain unchanged. A small semantic difference is that a `Handler` can only be set once per `Logger` and not changed dynamically. This just means that a new logger must be instantiated every time the handler of the root logger is changed. ---- For users of the `go-ethereum/log` module. If you were using this module for your own project, you will need to change the initialization. If you previously did ```golang log.Root().SetHandler(log.LvlFilterHandler(log.LvlInfo, log.StreamHandler(os.Stderr, log.TerminalFormat(true)))) ``` You now instead need to do ```golang log.SetDefault(log.NewLogger(log.NewTerminalHandlerWithLevel(os.Stderr, log.LevelInfo, true))) ``` See more about reasoning here: https://github.com/ethereum/go-ethereum/issues/28558#issuecomment-1820606613
144 lines
6.6 KiB
Modula-2
144 lines
6.6 KiB
Modula-2
module github.com/ethereum/go-ethereum
|
|
|
|
go 1.20
|
|
|
|
require (
|
|
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.2.0
|
|
github.com/Microsoft/go-winio v0.6.1
|
|
github.com/VictoriaMetrics/fastcache v1.12.1
|
|
github.com/aws/aws-sdk-go-v2 v1.21.2
|
|
github.com/aws/aws-sdk-go-v2/config v1.18.45
|
|
github.com/aws/aws-sdk-go-v2/credentials v1.13.43
|
|
github.com/aws/aws-sdk-go-v2/service/route53 v1.30.2
|
|
github.com/btcsuite/btcd/btcec/v2 v2.2.0
|
|
github.com/cespare/cp v0.1.0
|
|
github.com/cloudflare/cloudflare-go v0.79.0
|
|
github.com/cockroachdb/errors v1.8.1
|
|
github.com/cockroachdb/pebble v0.0.0-20230928194634-aa077af62593
|
|
github.com/consensys/gnark-crypto v0.12.1
|
|
github.com/crate-crypto/go-ipa v0.0.0-20231025140028-3c0104f4b233
|
|
github.com/crate-crypto/go-kzg-4844 v0.7.0
|
|
github.com/davecgh/go-spew v1.1.1
|
|
github.com/deckarep/golang-set/v2 v2.1.0
|
|
github.com/dop251/goja v0.0.0-20230806174421-c933cf95e127
|
|
github.com/ethereum/c-kzg-4844 v0.4.0
|
|
github.com/fatih/color v1.13.0
|
|
github.com/fjl/gencodec v0.0.0-20230517082657-f9840df7b83e
|
|
github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5
|
|
github.com/fsnotify/fsnotify v1.6.0
|
|
github.com/gballet/go-libpcsclite v0.0.0-20190607065134-2772fd86a8ff
|
|
github.com/gballet/go-verkle v0.1.1-0.20231031103413-a67434b50f46
|
|
github.com/gofrs/flock v0.8.1
|
|
github.com/golang-jwt/jwt/v4 v4.5.0
|
|
github.com/golang/protobuf v1.5.3
|
|
github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb
|
|
github.com/google/gofuzz v1.2.0
|
|
github.com/google/uuid v1.3.0
|
|
github.com/gorilla/websocket v1.4.2
|
|
github.com/graph-gophers/graphql-go v1.3.0
|
|
github.com/hashicorp/go-bexpr v0.1.10
|
|
github.com/holiman/billy v0.0.0-20230718173358-1c7e68d277a7
|
|
github.com/holiman/bloomfilter/v2 v2.0.3
|
|
github.com/holiman/uint256 v1.2.4
|
|
github.com/huin/goupnp v1.3.0
|
|
github.com/influxdata/influxdb-client-go/v2 v2.4.0
|
|
github.com/influxdata/influxdb1-client v0.0.0-20220302092344-a9ab5670611c
|
|
github.com/jackpal/go-nat-pmp v1.0.2
|
|
github.com/jedisct1/go-minisign v0.0.0-20230811132847-661be99b8267
|
|
github.com/julienschmidt/httprouter v1.3.0
|
|
github.com/karalabe/usb v0.0.2
|
|
github.com/kylelemons/godebug v1.1.0
|
|
github.com/mattn/go-colorable v0.1.13
|
|
github.com/mattn/go-isatty v0.0.17
|
|
github.com/naoina/toml v0.1.2-0.20170918210437-9fafd6967416
|
|
github.com/olekukonko/tablewriter v0.0.5
|
|
github.com/peterh/liner v1.1.1-0.20190123174540-a2c9a5303de7
|
|
github.com/protolambda/bls12-381-util v0.0.0-20220416220906-d8552aa452c7
|
|
github.com/rs/cors v1.7.0
|
|
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible
|
|
github.com/status-im/keycard-go v0.2.0
|
|
github.com/stretchr/testify v1.8.4
|
|
github.com/supranational/blst v0.3.11
|
|
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
|
|
github.com/tyler-smith/go-bip39 v1.1.0
|
|
github.com/urfave/cli/v2 v2.25.7
|
|
go.uber.org/automaxprocs v1.5.2
|
|
golang.org/x/crypto v0.15.0
|
|
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa
|
|
golang.org/x/sync v0.5.0
|
|
golang.org/x/sys v0.14.0
|
|
golang.org/x/text v0.14.0
|
|
golang.org/x/time v0.3.0
|
|
golang.org/x/tools v0.15.0
|
|
gopkg.in/natefinch/lumberjack.v2 v2.0.0
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.7.0 // indirect
|
|
github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0 // indirect
|
|
github.com/DataDog/zstd v1.4.5 // indirect
|
|
github.com/StackExchange/wmi v1.2.1 // indirect
|
|
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.13 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.43 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.37 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.45 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.37 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sso v1.15.2 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.17.3 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sts v1.23.2 // indirect
|
|
github.com/aws/smithy-go v1.15.0 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/bits-and-blooms/bitset v1.10.0 // indirect
|
|
github.com/cespare/xxhash/v2 v2.2.0 // indirect
|
|
github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f // indirect
|
|
github.com/cockroachdb/redact v1.0.8 // indirect
|
|
github.com/cockroachdb/sentry-go v0.6.1-cockroachdb.2 // indirect
|
|
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
|
|
github.com/consensys/bavard v0.1.13 // indirect
|
|
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
|
|
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect
|
|
github.com/deepmap/oapi-codegen v1.6.0 // indirect
|
|
github.com/dlclark/regexp2 v1.7.0 // indirect
|
|
github.com/garslo/gogen v0.0.0-20170306192744-1d203ffc1f61 // indirect
|
|
github.com/go-ole/go-ole v1.2.5 // indirect
|
|
github.com/go-sourcemap/sourcemap v2.1.3+incompatible // indirect
|
|
github.com/goccy/go-json v0.10.2 // indirect
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
github.com/google/go-cmp v0.5.9 // indirect
|
|
github.com/google/go-querystring v1.1.0 // indirect
|
|
github.com/google/pprof v0.0.0-20230207041349-798e818bf904 // indirect
|
|
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
|
github.com/hashicorp/go-retryablehttp v0.7.4 // indirect
|
|
github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839 // indirect
|
|
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
|
github.com/kilic/bls12-381 v0.1.0 // indirect
|
|
github.com/klauspost/compress v1.15.15 // indirect
|
|
github.com/kr/pretty v0.3.1 // indirect
|
|
github.com/kr/text v0.2.0 // indirect
|
|
github.com/mattn/go-runewidth v0.0.13 // indirect
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
|
|
github.com/mitchellh/mapstructure v1.4.1 // indirect
|
|
github.com/mitchellh/pointerstructure v1.2.0 // indirect
|
|
github.com/mmcloughlin/addchain v0.4.0 // indirect
|
|
github.com/naoina/go-stringutil v0.1.0 // indirect
|
|
github.com/opentracing/opentracing-go v1.1.0 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/prometheus/client_golang v1.12.0 // indirect
|
|
github.com/prometheus/client_model v0.2.1-0.20210607210712-147c58e9608a // indirect
|
|
github.com/prometheus/common v0.32.1 // indirect
|
|
github.com/prometheus/procfs v0.7.3 // indirect
|
|
github.com/rivo/uniseg v0.2.0 // indirect
|
|
github.com/rogpeppe/go-internal v1.9.0 // indirect
|
|
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
|
github.com/tklauser/go-sysconf v0.3.12 // indirect
|
|
github.com/tklauser/numcpus v0.6.1 // indirect
|
|
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
|
|
golang.org/x/mod v0.14.0 // indirect
|
|
golang.org/x/net v0.18.0 // indirect
|
|
google.golang.org/protobuf v1.27.1 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
rsc.io/tmplfunc v0.0.3 // indirect
|
|
)
|