blob: b5f9e9541226d09b48e35d49235c303764f4d344 [file] [log] [blame]
// 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"
"time"
)
func Record(ctx context.Context, tags ...Tag) {
ProcessEvent(ctx, Event{
Type: RecordType,
At: time.Now(),
Tags: newTagSet(tags),
})
}