zap

package
v0.0.0-...-3c9d484 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type St

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

func New

func New(level string, debug, test bool) (*St, error)

func (*St) Debug

func (lg *St) Debug(args ...interface{})

Debug is for Debug

func (*St) Debugf

func (lg *St) Debugf(tmpl string, args ...interface{})

Debugf is for Debugf

func (*St) Debugw

func (lg *St) Debugw(msg string, args ...interface{})

Debugw is for Debugw

func (*St) Error

func (lg *St) Error(args ...interface{})

Error is for Error

func (*St) Errorf

func (lg *St) Errorf(tmpl string, args ...interface{})

Errorf is for Errorf

func (*St) Errorw

func (lg *St) Errorw(msg string, err interface{}, args ...interface{})

Errorw is for Errorw

func (*St) Fatal

func (lg *St) Fatal(args ...interface{})

Fatal is for Fatal

func (*St) Fatalf

func (lg *St) Fatalf(tmpl string, args ...interface{})

Fatalf is for Fatalf

func (*St) Fatalw

func (lg *St) Fatalw(msg string, err interface{}, args ...interface{})

Fatalw is for Fatalw

func (*St) Info

func (lg *St) Info(args ...interface{})

Info is for Info

func (*St) Infof

func (lg *St) Infof(tmpl string, args ...interface{})

Infof is for Infof

func (*St) Infow

func (lg *St) Infow(msg string, args ...interface{})

Infow is for Infow

func (*St) Sync

func (lg *St) Sync()

Sync is for sync

func (*St) Warn

func (lg *St) Warn(args ...interface{})

Warn is for Warn

func (*St) Warnf

func (lg *St) Warnf(tmpl string, args ...interface{})

Warnf is for Warnf

func (*St) Warnw

func (lg *St) Warnw(msg string, args ...interface{})

Warnw is for Warnw

Jump to

Keyboard shortcuts

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