logs

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Zap

type Zap struct {
	*zap.SugaredLogger
	// contains filtered or unexported fields
}

func NewZap

func NewZap(level string) (*Zap, error)

func (*Zap) Debugj

func (z *Zap) Debugj(j log.JSON)

func (*Zap) Errorj

func (z *Zap) Errorj(j log.JSON)

func (*Zap) Fatalj

func (z *Zap) Fatalj(j log.JSON)

func (*Zap) Infoj

func (z *Zap) Infoj(j log.JSON)

func (*Zap) Level

func (z *Zap) Level() log.Lvl

func (*Zap) Output

func (z *Zap) Output() io.Writer

func (*Zap) Panicj

func (z *Zap) Panicj(j log.JSON)

func (*Zap) Prefix

func (z *Zap) Prefix() string

func (*Zap) Print

func (z *Zap) Print(args ...interface{})

func (*Zap) Printf

func (z *Zap) Printf(format string, args ...interface{})

func (*Zap) Printj

func (z *Zap) Printj(j log.JSON)

func (*Zap) SetHeader

func (z *Zap) SetHeader(h string)

func (*Zap) SetLevel

func (z *Zap) SetLevel(v log.Lvl)

func (*Zap) SetOutput

func (z *Zap) SetOutput(w io.Writer)

func (*Zap) SetPrefix

func (z *Zap) SetPrefix(p string)

func (*Zap) Warnj

func (z *Zap) Warnj(j log.JSON)

Jump to

Keyboard shortcuts

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