mirror of
https://github.com/luxfi/trace.git
synced 2026-07-27 01:48:15 +00:00
- Update copyright headers from 2024 to 2025 - Upgrade OpenTelemetry exporter packages from v1.22.0 to v1.35.0 - All otel packages now consistently at v1.35.0
18 lines
367 B
Go
18 lines
367 B
Go
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
package trace
|
|
|
|
import "go.opentelemetry.io/otel/trace/noop"
|
|
|
|
var Noop Tracer = noOpTracer{}
|
|
|
|
// noOpTracer is an implementation of trace.Tracer that does nothing.
|
|
type noOpTracer struct {
|
|
noop.Tracer
|
|
}
|
|
|
|
func (noOpTracer) Close() error {
|
|
return nil
|
|
}
|