logger

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Red  = Color("\033[1;31m%s\033[0m")
	Teal = Color("\033[1;36m%s\033[0m")
)

Functions

func Color

func Color(colorString string) func(...interface{}) string

Types

type Logger

type Logger interface {
	LogErrorIfExists(err error)
	LogInfo(msg string)
}

func NewLogger

func NewLogger() Logger

Jump to

Keyboard shortcuts

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