logger

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Verbose bool = false // Silences messages to stderr

)

Functions

func Custom added in v1.5.0

func Custom(labelStr string, colorAttrib color.Attribute, s string, args ...interface{})

Print a message with a custom label to stdout

func Error added in v1.3.0

func Error(err error)

Print an error to stderr

func Fatal added in v1.3.0

func Fatal(err error)

Print an error to stderr and quit

func Info added in v1.5.0

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

Print a info message to stderr

func PlainStderr added in v1.5.0

func PlainStderr(s string, args ...interface{})

Print a plain message to stderr

func PlainStdout added in v1.5.0

func PlainStdout(s string, args ...interface{})

Print a plain message to stdout

func Warning added in v1.5.0

func Warning(s string, args ...interface{})

Print a warning message to stderr

Types

This section is empty.

Jump to

Keyboard shortcuts

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