zap

package
v0.0.0-...-0e0034f Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(config *rcconfig.Log) (logger contract.LoggerInterface, err error)

Types

type Logger

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

func (*Logger) Debug

func (log *Logger) Debug(msg string, v ...interface{})

func (*Logger) DebugF

func (log *Logger) DebugF(format string, args ...interface{})

func (*Logger) Error

func (log *Logger) Error(msg string, v ...interface{})

func (*Logger) ErrorF

func (log *Logger) ErrorF(format string, args ...interface{})

func (*Logger) Fatal

func (log *Logger) Fatal(msg string, v ...interface{})

func (*Logger) FatalF

func (log *Logger) FatalF(format string, args ...interface{})

func (*Logger) Info

func (log *Logger) Info(msg string, v ...interface{})

func (*Logger) InfoF

func (log *Logger) InfoF(format string, args ...interface{})

func (*Logger) Panic

func (log *Logger) Panic(msg string, v ...interface{})

func (*Logger) PanicF

func (log *Logger) PanicF(format string, args ...interface{})

func (*Logger) Warn

func (log *Logger) Warn(msg string, v ...interface{})

func (*Logger) WarnF

func (log *Logger) WarnF(format string, args ...interface{})

Jump to

Keyboard shortcuts

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