Commit 9880f99c authored by zelig's avatar zelig

fix p2p/testlog_test

parent 0330077d
...@@ -15,11 +15,8 @@ func testlog(t *testing.T) testLogger { ...@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment