// 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 core

import (
	

	
	
)

// Log1 takes a message and one label delivers a log event to the exporter.
// It is a customized version of Print that is faster and does no allocation.
func ( context.Context,  string,  label.Label) {
	Export(, MakeEvent([3]label.Label{
		keys.Msg.Of(),
		,
	}, nil))
}

// Log2 takes a message and two labels and delivers a log event to the exporter.
// It is a customized version of Print that is faster and does no allocation.
func ( context.Context,  string,  label.Label,  label.Label) {
	Export(, MakeEvent([3]label.Label{
		keys.Msg.Of(),
		,
		,
	}, nil))
}

// Metric1 sends a label event to the exporter with the supplied labels.
func ( context.Context,  label.Label) context.Context {
	return Export(, MakeEvent([3]label.Label{
		keys.Metric.New(),
		,
	}, nil))
}

// Metric2 sends a label event to the exporter with the supplied labels.
func ( context.Context, ,  label.Label) context.Context {
	return Export(, MakeEvent([3]label.Label{
		keys.Metric.New(),
		,
		,
	}, nil))
}

// Start1 sends a span start event with the supplied label list to the exporter.
// It also returns a function that will end the span, which should normally be
// deferred.
func ( context.Context,  string,  label.Label) (context.Context, func()) {
	return ExportPair(,
		MakeEvent([3]label.Label{
			keys.Start.Of(),
			,
		}, nil),
		MakeEvent([3]label.Label{
			keys.End.New(),
		}, nil))
}

// Start2 sends a span start event with the supplied label list to the exporter.
// It also returns a function that will end the span, which should normally be
// deferred.
func ( context.Context,  string, ,  label.Label) (context.Context, func()) {
	return ExportPair(,
		MakeEvent([3]label.Label{
			keys.Start.Of(),
			,
			,
		}, nil),
		MakeEvent([3]label.Label{
			keys.End.New(),
		}, nil))
}