logger

package
v0.5.6-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Custom

func Custom(col color.Attribute, text ...string)

func Error

func Error(text ...string)

func Fatal

func Fatal(text error)

func Free

func Free(text ...string)

func HandleErr

func HandleErr(err error)

func Info

func Info(text ...string)

func Operation

func Operation(text ...string)

func Success

func Success(text ...string)

Types

type MyLogWriter

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

func NewLogWriter

func NewLogWriter(f func(string, color.Attribute), col color.Attribute) *MyLogWriter

func (*MyLogWriter) Write

func (w *MyLogWriter) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

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