logging

package
v0.0.0-...-023492f Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 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 Logger

type Logger interface {
	Info(m string)
	Infow(m string, args ...interface{})
	Warning(m string)
	Warningw(m string, args ...interface{})
	Error(m string)
	Errorw(m string, args ...interface{})
	Fatal(m string)
	Fatalw(m string, args ...interface{})
}

type Zap

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

func NewZap

func NewZap() Zap

func (Zap) Error

func (z Zap) Error(m string)

func (Zap) Errorw

func (z Zap) Errorw(m string, args ...interface{})

func (Zap) Fatal

func (z Zap) Fatal(m string)

func (Zap) Fatalw

func (z Zap) Fatalw(m string, args ...interface{})

func (Zap) Flush

func (z Zap) Flush() error

func (Zap) Info

func (z Zap) Info(m string)

func (Zap) Infow

func (z Zap) Infow(m string, args ...interface{})

func (Zap) Warning

func (z Zap) Warning(m string)

func (Zap) Warningw

func (z Zap) Warningw(m string, args ...interface{})

Jump to

Keyboard shortcuts

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