logging

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLogOutput = errors.New("unknown logging output format")
	ErrInvalidLogLevel  = errors.New("unknown logging level")
)

Functions

func NoGlobal added in v0.3.0

func NoGlobal()

Types

type Result added in v0.3.0

type Result struct {
	fx.Out

	Logger   *zerolog.Logger
	LogLevel zerolog.Level
}

func Provide added in v0.3.0

func Provide(cfg config.Config) (Result, error)

Jump to

Keyboard shortcuts

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