mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 10:50:44 +00:00
fix p2p/testlog_test
This commit is contained in:
parent
0330077d76
commit
9880f99ccb
1 changed files with 2 additions and 5 deletions
|
|
@ -15,11 +15,8 @@ func testlog(t *testing.T) testLogger {
|
||||||
return l
|
return l
|
||||||
}
|
}
|
||||||
|
|
||||||
func (testLogger) GetLogLevel() logger.LogLevel { return logger.DebugDetailLevel }
|
func (l testLogger) LogPrint(msg logger.LogMsg) {
|
||||||
func (testLogger) SetLogLevel(logger.LogLevel) {}
|
l.t.Logf("%s", msg.String())
|
||||||
|
|
||||||
func (l testLogger) LogPrint(level logger.LogLevel, msg string) {
|
|
||||||
l.t.Logf("%s", msg)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (testLogger) detach() {
|
func (testLogger) detach() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue