zaplogger

package
v0.0.0-...-dfd90ba Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultZapProdConfig

func DefaultZapProdConfig() zapcore.EncoderConfig

func NewDefaultZapProdLogger

func NewDefaultZapProdLogger() *zap.Logger

Types

type ZapLogger

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

func New

func New() (*ZapLogger, error)

func (*ZapLogger) Debug

func (log *ZapLogger) Debug(args ...interface{})

func (*ZapLogger) Error

func (log *ZapLogger) Error(args ...interface{})

func (*ZapLogger) Info

func (log *ZapLogger) Info(args ...interface{})

func (*ZapLogger) Sync

func (log *ZapLogger) Sync() error

func (*ZapLogger) Warn

func (log *ZapLogger) Warn(args ...interface{})

Jump to

Keyboard shortcuts

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