log

package
v0.1.1-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct {
	Logger
}

func (Log) Log

func (l Log) Log(s string)

func (Log) LogPretty

func (l Log) LogPretty(s string, p ...color.Attribute)

func (Log) Print

func (l Log) Print(s string)

func (Log) PrintPretty

func (l Log) PrintPretty(s string, p ...color.Attribute)

type Logger

type Logger interface {
	Log(string)
	Print(string)
	LogPretty(string, ...color.Attribute)
	PrintPretty(string, ...color.Attribute)
}

Jump to

Keyboard shortcuts

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