1
0
mirror of https://github.com/golang/go synced 2024-11-06 07:36:13 -07:00
go/internal/telemetry/event/metric.go
Ian Cottrell a49f79bcc2 internal/telemetry: hide event.Type
Change-Id: I390102bbffaa242051cc131ef0659a6544aa89c6
Reviewed-on: https://go-review.googlesource.com/c/tools/+/224938
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
2020-03-25 01:02:19 +00:00

17 lines
308 B
Go

// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package event
import (
"context"
)
func Record(ctx context.Context, tags ...Tag) {
dispatch(ctx, Event{
typ: RecordType,
tags: tags,
})
}