logger

package
v3.41.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...Option) *logger

Types

type Option added in v3.3.0

type Option func(l *logger)

func Nop added in v3.34.0

func Nop() Option

func WithColoring added in v3.34.0

func WithColoring() Option

func WithErrWriter added in v3.5.0

func WithErrWriter(err io.Writer) Option

func WithExternalLogger added in v3.5.0

func WithExternalLogger(external log.Logger) Option

func WithMinLevel added in v3.3.0

func WithMinLevel(level level.Level) Option

func WithNamespace added in v3.3.0

func WithNamespace(namespace string) Option

func WithOutWriter added in v3.5.0

func WithOutWriter(out io.Writer) Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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