log

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 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(format string, args ...interface{})

func Error

func Error(format string, args ...interface{})

func Fatal

func Fatal(format string, args ...interface{})

func GetSpinner added in v0.0.3

func GetSpinner() *progress.Spinner

GetSpinner returns the singleton spinner instance, creating it if it doesn't exist

func Info

func Info(format string, args ...interface{})

func SetLevel

func SetLevel(l Level)

func Spinner added in v0.0.3

func Spinner(format string, args ...interface{})

func Success

func Success(format string, args ...interface{})

func Warn

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

Types

type Level added in v0.0.3

type Level int
const (
	DebugLevel Level = iota
	InfoLevel
	WarnLevel
	ErrorLevel
)

func GetLevel added in v0.0.3

func GetLevel() Level

GetLevel returns the current logging level

Jump to

Keyboard shortcuts

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