1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00
any-sync/metric/log_test.go
Sergey Cherepanov a0633c39ec
fix test
2023-05-19 22:21:12 +02:00

13 lines
277 B
Go

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"), appField: zap.String("appName", "test")}
m.RequestLog(context.Background(), "rpc")
}