logs

package
v0.5.14 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Black = 30 + iota
	Red
	Green
	Yellow
	Blue
	Purple
	DarkGreen
	White
)

Variables

This section is empty.

Functions

func PrintError

func PrintError(v ...any)

func PrintInfo

func PrintInfo(v ...any)

func Redirect

func Redirect(path string) error

func Sprint

func Sprint(color int, v ...any) string

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func New

func New() *Manager

func (*Manager) PrintError

func (m *Manager) PrintError(v ...any)

func (*Manager) PrintInfo

func (m *Manager) PrintInfo(v ...any)

func (*Manager) Redirect

func (m *Manager) Redirect(path string) error

Jump to

Keyboard shortcuts

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