mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
fix test
This commit is contained in:
parent
3d2005833b
commit
a0633c39ec
1 changed files with 2 additions and 1 deletions
|
@ -3,10 +3,11 @@ package metric
|
|||
import (
|
||||
"context"
|
||||
"github.com/anytypeio/any-sync/app/logger"
|
||||
"go.uber.org/zap"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestLog(t *testing.T) {
|
||||
m := &metric{rpcLog: logger.NewNamed("rpcLog")}
|
||||
m := &metric{rpcLog: logger.NewNamed("rpcLog"), appField: zap.String("appName", "test")}
|
||||
m.RequestLog(context.Background(), "rpc")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue