mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-25 18:51:39 +00:00
update log interface
This commit is contained in:
@ -42,7 +42,7 @@ func testStream(t *testing.T, app types.Application) {
|
||||
if err != nil {
|
||||
t.Fatalf("Error starting socket server: %v", err.Error())
|
||||
}
|
||||
server.SetLogger(log.With(log.TestingLogger(), "module", "abci-server"))
|
||||
server.SetLogger(log.TestingLogger().With("module", "abci-server"))
|
||||
defer server.Stop()
|
||||
|
||||
// Connect to the socket
|
||||
@ -50,7 +50,7 @@ func testStream(t *testing.T, app types.Application) {
|
||||
if err != nil {
|
||||
t.Fatalf("Error starting socket client: %v", err.Error())
|
||||
}
|
||||
client.SetLogger(log.With(log.TestingLogger(), "module", "abci-client"))
|
||||
client.SetLogger(log.TestingLogger().With("module", "abci-client"))
|
||||
client.Start()
|
||||
defer client.Stop()
|
||||
|
||||
@ -116,7 +116,7 @@ func testGRPCSync(t *testing.T, app *types.GRPCApplication) {
|
||||
if err != nil {
|
||||
t.Fatalf("Error starting GRPC server: %v", err.Error())
|
||||
}
|
||||
server.SetLogger(log.With(log.TestingLogger(), "module", "abci-server"))
|
||||
server.SetLogger(log.TestingLogger().With("module", "abci-server"))
|
||||
defer server.Stop()
|
||||
|
||||
// Connect to the socket
|
||||
|
Reference in New Issue
Block a user