zerologger

package
v1.0.34 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TraceLevel defines trace log level.
	TraceLevel = "trace"
	// DebugLevel defines debug log level.
	DebugLevel = "debug"
	// InfoLevel defines info log level.
	InfoLevel = "info"
	// WarnLevel defines warn log level.
	WarnLevel = "warn"
	// ErrorLevel defines error log level.
	ErrorLevel = "error"
	// FatalLevel defines fatal log level.
	FatalLevel = "fatal"
)

Variables

This section is empty.

Functions

func Configure

func Configure(params config.Log)

func ExtractZerologLevel

func ExtractZerologLevel(level string) zerolog.Level

ExtractZerologLevel получает уровень логгирования в совместимом с zerolog формате

Types

This section is empty.

Jump to

Keyboard shortcuts

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