logger

package
v0.0.0-...-2fd186a Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2017 License: MIT Imports: 1 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 {
	Test *testing.T
}

MockLog is a logger for use inside tests

func (MockLog) Error

func (log MockLog) Error(err string) string

Error prints errors to console when logging in tests

func (MockLog) Info

func (log MockLog) Info(message string) string

Info prints data to console when logging in tests

Jump to

Keyboard shortcuts

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