logger

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(message string, args ...any)

func Fail

func Fail(message string, args ...interface{})

func Info

func Info(message string, args ...any)

func Pass

func Pass(message string, args ...any)

func SetLevel

func SetLevel(value string)

func Warn

func Warn(message string, args ...interface{})

Types

type LogLevel

type LogLevel int
const (
	LevelDebug LogLevel = iota
	LevelInfo
	LevelPass
	LevelWarn
	LevelFail
)
var (
	Level LogLevel
)

func (LogLevel) String

func (me LogLevel) String() string

Jump to

Keyboard shortcuts

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