printpretty

package
v0.0.0-...-e4f1f11 Latest Latest
Warning

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

Go to latest
Published: May 16, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	INFO messageType = iota
	NOTICE
	WARNING
	ERROR
	FATAL
	QUIET
	SUCCESS
)

Enum for status levels

Variables

This section is empty.

Functions

func Error

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

Error prints a message with red text

func Highlight

func Highlight(message, command string, args ...interface{})

Highlight searches for a substring and highlights it green

func Info

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

Info prints a message with white text

func Notice

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

Notice prints a message with cyan text

func Quiet

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

Quiet prints a message with gray text

func Success

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

Success prints a message with green text

func Warn

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

Warn prints a message with yellow text

Types

This section is empty.

Jump to

Keyboard shortcuts

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