logtest

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2020 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 MockLogger

type MockLogger struct {
	Logs []error
}

MockLogger for testing purposes

func (*MockLogger) Debug

func (l *MockLogger) Debug(err error)

Debug logging level

func (*MockLogger) Error

func (l *MockLogger) Error(err error)

Error logging level

func (*MockLogger) Fatal

func (l *MockLogger) Fatal(err error)

Fatal logging level

func (*MockLogger) Info

func (l *MockLogger) Info(err error)

Info logging level

func (*MockLogger) Warn

func (l *MockLogger) Warn(err error)

Warn logging level

Jump to

Keyboard shortcuts

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