logger

package
v0.0.0-...-20c256c Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(config Config)

Types

type Config

type Config struct {
	Level   Level
	Handler Handler
}

type Handler

type Handler string
const (
	Text Handler = "text"
	Json Handler = "json"
)

type Level

type Level string
const (
	DebugLevel Level = "debug"
	WarnLevel  Level = "warn"
	ErrorLevel Level = "error"
	InfoLevel  Level = "info"
)

Jump to

Keyboard shortcuts

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