console

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Console

type Console interface {
	Info(msg ...interface{})
	InfoF(format string, msg ...interface{})
	Debug(msg ...interface{})
	DebugF(format string, msg ...interface{})
	Warning(msg ...interface{})
	WarningF(format string, msg ...interface{})
	Error(msg ...interface{})
	ErrorF(format string, msg ...interface{})
	Fatal(msg ...interface{})
	FatalF(format string, msg ...interface{})
	Panic(msg ...interface{})
	PanicF(format string, msg ...interface{})
}

Console describes an abstract printer.

func NewColorConsole

func NewColorConsole() Console

NewColorConsole returns an instance of Console.

Jump to

Keyboard shortcuts

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