tests

package
v1.50.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter struct {
	// contains filtered or unexported fields
}

Exporter is an in-memory sdklog.Exporter that keeps exported records so tests can assert on them without a network endpoint.

func (*Exporter) Export

func (e *Exporter) Export(_ context.Context, records []sdklog.Record) error

func (*Exporter) ForceFlush

func (e *Exporter) ForceFlush(context.Context) error

func (*Exporter) Records

func (e *Exporter) Records() []sdklog.Record

func (*Exporter) Shutdown

func (e *Exporter) Shutdown(context.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL