mocklogger

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 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 Logger

type Logger struct {
	mock.Mock
}

func (*Logger) Debug

func (_m *Logger) Debug(args ...interface{})

Debug provides a mock function with given fields: args

func (*Logger) Debugf

func (_m *Logger) Debugf(format string, args ...interface{})

Debugf provides a mock function with given fields: format, args

func (*Logger) Error

func (_m *Logger) Error(args ...interface{})

Error provides a mock function with given fields: args

func (*Logger) Errorf

func (_m *Logger) Errorf(format string, args ...interface{})

Errorf provides a mock function with given fields: format, args

func (*Logger) Fatal

func (_m *Logger) Fatal(args ...interface{})

Fatal provides a mock function with given fields: args

func (*Logger) Fatalf

func (_m *Logger) Fatalf(format string, args ...interface{})

Fatalf provides a mock function with given fields: format, args

func (*Logger) Fields

func (_m *Logger) Fields() bark.Fields

Fields provides a mock function with given fields:

func (*Logger) Info

func (_m *Logger) Info(args ...interface{})

Info provides a mock function with given fields: args

func (*Logger) Infof

func (_m *Logger) Infof(format string, args ...interface{})

Infof provides a mock function with given fields: format, args

func (*Logger) Panic

func (_m *Logger) Panic(args ...interface{})

Panic provides a mock function with given fields: args

func (*Logger) Panicf

func (_m *Logger) Panicf(format string, args ...interface{})

Panicf provides a mock function with given fields: format, args

func (*Logger) Warn

func (_m *Logger) Warn(args ...interface{})

Warn provides a mock function with given fields: args

func (*Logger) Warnf

func (_m *Logger) Warnf(format string, args ...interface{})

Warnf provides a mock function with given fields: format, args

func (*Logger) WithError

func (_m *Logger) WithError(err error) bark.Logger

WithError provides a mock function with given fields: err

func (*Logger) WithField

func (_m *Logger) WithField(key string, value interface{}) bark.Logger

WithField provides a mock function with given fields: key, value

func (*Logger) WithFields

func (_m *Logger) WithFields(keyValues bark.LogFields) bark.Logger

WithFields provides a mock function with given fields: keyValues

Jump to

Keyboard shortcuts

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