go-ethereum/cmd/geth/testdata
Martin Holst Swende b8d44ed98b
log: remove lazy, remove unused interfaces, unexport methods (#28622)
This change 

- Removes interface `log.Format`, 
- Removes method `log.FormatFunc`, 
- unexports `TerminalHandler.TerminalFormat` formatting methods (renamed to `TerminalHandler.format`)
- removes the notion of `log.Lazy` values


The lazy handler was useful in the old log package, since it
could defer the evaluation of costly attributes until later in the
log pipeline: thus, if the logging was done at 'Trace', we could
skip evaluation if logging only was set to 'Info'.

With the move to slog, this way of deferring evaluation is no longer
needed, since slog introduced 'Enabled': the caller can thus do
the evaluate-or-not decision at the callsite, which is much more
straight-forward than dealing with lazy reflect-based evaluation.

Also, lazy evaluation would not work with 'native' slog, as in, these
two statements would be evaluated differently:

```golang
  log.Info("foo", "my lazy", lazyObj)
  slog.Info("foo", "my lazy", lazyObj)
```
2023-12-05 11:54:44 +01:00
..
logging log: remove lazy, remove unused interfaces, unexport methods (#28622) 2023-12-05 11:54:44 +01:00
vcheck deps: update minisign (#28066) 2023-09-07 04:18:46 -04:00
blockchain.blocks cmd/geth: LES priority client test (#20719) 2020-07-01 10:31:11 +02:00
clique.json cmd/geth: LES priority client test (#20719) 2020-07-01 10:31:11 +02:00
empty.js cmd/geth: add tests for account commands 2016-04-12 15:58:07 +02:00
guswallet.json cmd/geth: add tests for account commands 2016-04-12 15:58:07 +02:00
key.prv cmd/geth: LES priority client test (#20719) 2020-07-01 10:31:11 +02:00
password.txt cmd/geth: LES priority client test (#20719) 2020-07-01 10:31:11 +02:00
passwords.txt cmd/geth: add tests for account commands 2016-04-12 15:58:07 +02:00
wrong-passwords.txt cmd/geth: add tests for account commands 2016-04-12 15:58:07 +02:00