log_mock

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 MockLog

type MockLog struct {
	log.Logger

	Output string
}

func (*MockLog) Log

func (l *MockLog) Log(s string)

func (*MockLog) LogPretty

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

func (*MockLog) Print

func (l *MockLog) Print(s string)

func (*MockLog) PrintPretty

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

Jump to

Keyboard shortcuts

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