lagertest

package
v0.0.0-...-6e5da2a Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2016 License: Apache-2.0, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestLogger

type TestLogger struct {
	lager.Logger
	*TestSink
}

func NewTestLogger

func NewTestLogger(component string) *TestLogger

type TestSink

type TestSink struct {
	lager.Sink
	*gbytes.Buffer
}

func NewTestSink

func NewTestSink() *TestSink

func (*TestSink) Logs

func (s *TestSink) Logs() []lager.LogFormat

Jump to

Keyboard shortcuts

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