logger

package
v0.0.0-...-44a0b5b Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Str2ZapLevel

func Str2ZapLevel(level LogLevelStr) (zapcore.Level, error)

Types

type LogLevelStr

type LogLevelStr = string
const (
	LevelDebugStr LogLevelStr = "debug"
	LevelFatalStr LogLevelStr = "fatal"
	LevelErrorStr LogLevelStr = "error"
	LevelWarnStr  LogLevelStr = "warn"
	LevelInfoStr  LogLevelStr = "info"
)

Jump to

Keyboard shortcuts

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