logger

package
v0.0.0-...-3be415b Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg LoggerConfig) (*zap.Logger, error)

Types

type LogLevels

type LogLevels string
const (
	LogLevelDebug   LogLevels = "debug"
	LogLevelRelease LogLevels = "release"
)

type LoggerConfig

type LoggerConfig struct {
	Level string `toml:"log_level"`
}

Jump to

Keyboard shortcuts

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