console

package
v2.2.5 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: MIT, MIT Imports: 3 Imported by: 0

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