logger

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RED     string = "\033[38;5;196m"
	GREEN   string = "\033[38;5;046m"
	CYAN    string = "\033[38;5;014m"
	ORANGE  string = "\033[38;5;202m"
	YELLOW  string = "\033[38;5;011m"
	MAGENTA string = "\033[38;5;201m"
	GRAY    string = "\033[38;5;245m"
	WHITE   string = "\033[38;5;255m"
	RESET   string = "\033[0m"
)

Bash Color codes https://stackoverflow.com/a/69648792/4480179

Variables

View Source
var DebugEnabled bool

This variable gets its value in cmd/root.go from the CLI flag

Functions

func Checkf

func Checkf(format string, a ...interface{})

func Debugf

func Debugf(format string, a ...interface{})

func Errorf

func Errorf(format string, a ...interface{})

func Hintf

func Hintf(format string, a ...interface{})

func Infof

func Infof(format string, a ...interface{})

func Successf

func Successf(format string, a ...interface{})

func Warnf

func Warnf(format string, a ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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