mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
pebble: add Errorf function to panicLogger
This commit is contained in:
parent
470dba8fc1
commit
3573491739
1 changed files with 3 additions and 0 deletions
|
|
@ -127,6 +127,9 @@ type panicLogger struct{}
|
|||
func (l panicLogger) Infof(format string, args ...interface{}) {
|
||||
}
|
||||
|
||||
func (l panicLogger) Errorf(format string, args ...interface{}) {
|
||||
}
|
||||
|
||||
func (l panicLogger) Fatalf(format string, args ...interface{}) {
|
||||
panic(errors.Errorf("fatal: "+format, args...))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue