log

package
v0.0.0-...-b64d16d Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Basic = iota
	Blue  = iota
	Red   = iota
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ColorLogger

type ColorLogger struct {
	Color color.Attribute
}

func (ColorLogger) Log

func (cl ColorLogger) Log(message string)

type ConsoleLogger

type ConsoleLogger struct{}

func (ConsoleLogger) Log

func (l ConsoleLogger) Log(message string)

type Logger

type Logger interface {
	Log(message string)
}

func NewLogger

func NewLogger(loggerTypes ...int) (Logger, error)

Jump to

Keyboard shortcuts

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