init

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultLogger

func DefaultLogger() (logger.Logger, error)

func GetEnvConfig added in v1.2.0

func GetEnvConfig(target interface{}, envFiles ...string)

func NewLogger

func NewLogger(config *logger.Config, options ...LoggerOption) (logger.Logger, error)

Types

type LoggerOption

type LoggerOption func(logger.Logger)
var Zap LoggerOption = func(l logger.Logger) {
	l = &zap.Logger{}
}

Jump to

Keyboard shortcuts

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