This commit is contained in:
Sergey Cherepanov authored and Mikhail Iudin committed 2023-05-19 22:21:12 +02:00
1 parent 3d2005833b
commit a0633c39ec
1 file changed
+2 -1
+2 -1
View File
@@ -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")
}