mock

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 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 StandardLogger

type StandardLogger struct {
	Buffer *bytes.Buffer
}

StandardLogger 用于单元测试

func NewStandardLogger

func NewStandardLogger() *StandardLogger

NewStandardLogger todo

func (*StandardLogger) Debug

func (l *StandardLogger) Debug(msgs ...interface{})

Debug todo

func (*StandardLogger) Error

func (l *StandardLogger) Error(msgs ...interface{})

Error todo

func (*StandardLogger) Fatal

func (l *StandardLogger) Fatal(msgs ...interface{})

Fatal todo

func (*StandardLogger) Info

func (l *StandardLogger) Info(msgs ...interface{})

Info todo

func (*StandardLogger) Panic

func (l *StandardLogger) Panic(msgs ...interface{})

Panic todo

func (*StandardLogger) Warn

func (l *StandardLogger) Warn(msgs ...interface{})

Warn todo

Jump to

Keyboard shortcuts

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