Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewLogger)
Functions ¶
This section is empty.
Types ¶
type LogerPrinter ¶
type LogerPrinter interface {
FuncError(f interface{}, err error)
}
LogerPrinter 打印函数错误
func NewLogger ¶
func NewLogger(logger log.Logger) LogerPrinter
type LoggerPrint ¶
type LoggerPrint struct {
// contains filtered or unexported fields
}
func (*LoggerPrint) FuncError ¶
func (l *LoggerPrint) FuncError(f interface{}, err error)
Click to show internal directories.
Click to hide internal directories.