mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-07 21:47:02 +09:00
13 lines
276 B
Go
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")
|
|
}
|