fakes

package
v2.27.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2017 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeLogger

type FakeLogger struct {
	DebugStub func(tag, msg string, args ...interface{})

	DebugWithDetailsStub func(tag, msg string, args ...interface{})

	InfoStub func(tag, msg string, args ...interface{})

	WarnStub func(tag, msg string, args ...interface{})

	ErrorStub func(tag, msg string, args ...interface{})

	ErrorWithDetailsStub func(tag, msg string, args ...interface{})

	HandlePanicStub func(tag string)

	ToggleForcedDebugStub func()

	FlushStub func() error

	FlushTimeoutStub func(time.Duration) error
	// contains filtered or unexported fields
}

func (*FakeLogger) Debug

func (fake *FakeLogger) Debug(tag string, msg string, args ...interface{})

func (*FakeLogger) DebugArgsForCall

func (fake *FakeLogger) DebugArgsForCall(i int) (string, string, []interface{})

func (*FakeLogger) DebugCallCount

func (fake *FakeLogger) DebugCallCount() int

func (*FakeLogger) DebugWithDetails

func (fake *FakeLogger) DebugWithDetails(tag string, msg string, args ...interface{})

func (*FakeLogger) DebugWithDetailsArgsForCall

func (fake *FakeLogger) DebugWithDetailsArgsForCall(i int) (string, string, []interface{})

func (*FakeLogger) DebugWithDetailsCallCount

func (fake *FakeLogger) DebugWithDetailsCallCount() int

func (*FakeLogger) Error

func (fake *FakeLogger) Error(tag string, msg string, args ...interface{})

func (*FakeLogger) ErrorArgsForCall

func (fake *FakeLogger) ErrorArgsForCall(i int) (string, string, []interface{})

func (*FakeLogger) ErrorCallCount

func (fake *FakeLogger) ErrorCallCount() int

func (*FakeLogger) ErrorWithDetails

func (fake *FakeLogger) ErrorWithDetails(tag string, msg string, args ...interface{})

func (*FakeLogger) ErrorWithDetailsArgsForCall

func (fake *FakeLogger) ErrorWithDetailsArgsForCall(i int) (string, string, []interface{})

func (*FakeLogger) ErrorWithDetailsCallCount

func (fake *FakeLogger) ErrorWithDetailsCallCount() int

func (*FakeLogger) Flush

func (fake *FakeLogger) Flush() error

func (*FakeLogger) FlushCallCount

func (fake *FakeLogger) FlushCallCount() int

func (*FakeLogger) FlushReturns

func (fake *FakeLogger) FlushReturns(result1 error)

func (*FakeLogger) FlushTimeout

func (fake *FakeLogger) FlushTimeout(arg1 time.Duration) error

func (*FakeLogger) FlushTimeoutArgsForCall

func (fake *FakeLogger) FlushTimeoutArgsForCall(i int) time.Duration

func (*FakeLogger) FlushTimeoutCallCount

func (fake *FakeLogger) FlushTimeoutCallCount() int

func (*FakeLogger) FlushTimeoutReturns

func (fake *FakeLogger) FlushTimeoutReturns(result1 error)

func (*FakeLogger) HandlePanic

func (fake *FakeLogger) HandlePanic(tag string)

func (*FakeLogger) HandlePanicArgsForCall

func (fake *FakeLogger) HandlePanicArgsForCall(i int) string

func (*FakeLogger) HandlePanicCallCount

func (fake *FakeLogger) HandlePanicCallCount() int

func (*FakeLogger) Info

func (fake *FakeLogger) Info(tag string, msg string, args ...interface{})

func (*FakeLogger) InfoArgsForCall

func (fake *FakeLogger) InfoArgsForCall(i int) (string, string, []interface{})

func (*FakeLogger) InfoCallCount

func (fake *FakeLogger) InfoCallCount() int

func (*FakeLogger) Invocations

func (fake *FakeLogger) Invocations() map[string][][]interface{}

func (*FakeLogger) ToggleForcedDebug

func (fake *FakeLogger) ToggleForcedDebug()

func (*FakeLogger) ToggleForcedDebugCallCount

func (fake *FakeLogger) ToggleForcedDebugCallCount() int

func (*FakeLogger) Warn

func (fake *FakeLogger) Warn(tag string, msg string, args ...interface{})

func (*FakeLogger) WarnArgsForCall

func (fake *FakeLogger) WarnArgsForCall(i int) (string, string, []interface{})

func (*FakeLogger) WarnCallCount

func (fake *FakeLogger) WarnCallCount() int

Jump to

Keyboard shortcuts

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