logger

package
v0.30.9 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromViper

func FromViper(v *viper.Viper) log.Logger

FromViper builds a logger from env using viper

func GetLevel added in v0.25.0

func GetLevel(v *viper.Viper) string

func LevelFromJWWThreshold added in v0.19.0

func LevelFromJWWThreshold(threshold jww.Threshold) string

func New

func New(logLevel string) log.Logger

New instantiates the global logger instance if not already created

Types

This section is empty.

Jump to

Keyboard shortcuts

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