zap

package
v1.1.42 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: MIT Imports: 4 Imported by: 17

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, dev bool) *St

func (*St) Debug

func (o *St) Debug(args ...any)

func (*St) Debugf

func (o *St) Debugf(tmpl string, args ...any)

func (*St) Debugw

func (o *St) Debugw(msg string, args ...any)

func (*St) Error

func (o *St) Error(args ...any)

func (*St) Errorf

func (o *St) Errorf(tmpl string, args ...any)

func (*St) Errorw

func (o *St) Errorw(msg string, err any, args ...any)

func (*St) Fatal

func (o *St) Fatal(args ...any)

func (*St) Fatalf

func (o *St) Fatalf(tmpl string, args ...any)

func (*St) Fatalw

func (o *St) Fatalw(msg string, err any, args ...any)

func (*St) Info

func (o *St) Info(args ...any)

func (*St) Infof

func (o *St) Infof(tmpl string, args ...any)

func (*St) Infow

func (o *St) Infow(msg string, args ...any)

func (*St) Sync

func (o *St) Sync()

func (*St) Warn

func (o *St) Warn(args ...any)

func (*St) Warnf

func (o *St) Warnf(tmpl string, args ...any)

func (*St) Warnw

func (o *St) Warnw(msg string, args ...any)

Jump to

Keyboard shortcuts

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