logger

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZapTool

type ZapTool struct {
	// contains filtered or unexported fields
}

func NewZapTool

func NewZapTool(zapConfig *config.ZapConfig) *ZapTool

func (*ZapTool) Debug

func (z *ZapTool) Debug(msg string)

func (*ZapTool) Error

func (z *ZapTool) Error(msg string)

func (*ZapTool) ErrorWithAnyFiled

func (z *ZapTool) ErrorWithAnyFiled(msg string, err error)

func (*ZapTool) ErrorWithE

func (z *ZapTool) ErrorWithE(msg string, err error)

func (*ZapTool) Info

func (z *ZapTool) Info(msg string)

func (*ZapTool) InfoWithString

func (z *ZapTool) InfoWithString(msg, key, value string)

func (*ZapTool) Warn

func (z *ZapTool) Warn(msg string)

Jump to

Keyboard shortcuts

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