1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-07 21:47:02 +09:00
any-sync/metric/log_test.go
2023-05-23 14:47:24 +02:00

13 lines
276 B
Go

package metric
import (
"context"
"github.com/anyproto/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")
}