log

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BOLD_BLACK   = "\033[30;1m"
	BOLD_RED     = "\033[31;1m"
	BOLD_GREEN   = "\033[32;1m"
	BOLD_YELLOW  = "\033[33;1m"
	BOLD_BLUE    = "\033[34;1m"
	BOLD_MAGENTA = "\033[35;1m"
	BOLD_CYAN    = "\033[36;1m"
	BOLD_WHITE   = "\033[37;1m"
	YELLOW       = "\033[0;33m"
	RESET        = "\033[0;m"
	CLEAR        = "\033[0K"
)

Variables

This section is empty.

Functions

func Colorf added in v1.2.1

func Colorf(format string, v ...any)

func Colorln added in v1.2.1

func Colorln(v ...any)

func ConditionalColorf added in v1.2.1

func ConditionalColorf(format string, v ...any)

func ConditionalColorln added in v1.2.1

func ConditionalColorln(v ...any)

func ConditionalErrorf added in v1.2.1

func ConditionalErrorf(format string, v ...any)

func ConditionalErrorln added in v1.2.1

func ConditionalErrorln(v ...any)

func ConditionalWarnf added in v1.2.1

func ConditionalWarnf(format string, v ...any)

func ConditionalWarnln added in v1.2.1

func ConditionalWarnln(v ...any)

func Debugf

func Debugf(format string, v ...any)

func Debugln added in v1.2.1

func Debugln(v ...any)

func Errorf added in v1.2.1

func Errorf(format string, v ...any)

func Errorln added in v1.2.1

func Errorln(v ...any)

func Printf

func Printf(format string, v ...any)

func Println

func Println(v ...any)

func SetDebug

func SetDebug(active bool)

func SetOutput

func SetOutput(w io.Writer)

func SetQuietLogging added in v1.2.1

func SetQuietLogging(active bool)

func Warnf added in v1.2.1

func Warnf(format string, v ...any)

func Warnln added in v1.2.1

func Warnln(v ...any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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