logger

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(v ...any)

func Disable

func Disable()

func Error

func Error(v ...any)

func Info

func Info(v ...any)

func Panic

func Panic(v ...any)

func SetUp

func SetUp(cfg *config.Config) error

func Warning

func Warning(v ...any)

Types

type LogConfig

type LogConfig struct {
	Path  string
	Name  string
	Level LogLevel
}

type LogLevel

type LogLevel int
const (
	DEBUG LogLevel = iota
	INFO
	WARNING
	ERROR
	PANIC
)

Jump to

Keyboard shortcuts

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