provider

package
v0.0.0-...-62dc989 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZapLog

type ZapLog struct {
	Client *zap.Logger
}

Zap is a struct of Zap.

func NewZap

func NewZap(conf config.Config) *ZapLog

func (*ZapLog) Close

func (l *ZapLog) Close()

func (*ZapLog) Debugf

func (l *ZapLog) Debugf(msg string, args ...interface{})

Send an debug.

func (*ZapLog) Error

func (l *ZapLog) Error(msg string)

Send an error.

func (*ZapLog) Infof

func (l *ZapLog) Infof(msg string, args ...interface{})

Send an infof.

Jump to

Keyboard shortcuts

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