stdout

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(cfg *Config) (*trace.TracerProvider, error)

Init 初始化一个向指定 writer 写数据的 追踪器

Types

type Config

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

func NewConfig

func NewConfig() *Config

func (*Config) WithServerName

func (c *Config) WithServerName(serverName string) *Config

func (*Config) WithVersion

func (c *Config) WithVersion(version string) *Config

func (*Config) WithWriter

func (c *Config) WithWriter(w io.Writer) *Config

Jump to

Keyboard shortcuts

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