zap

package
v0.0.0-...-044f632 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: GPL-3.0 Imports: 2 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 struct {
	// contains filtered or unexported fields
}

func NewLogger

func NewLogger(logger *zap.Logger) Logger

func (Logger) Debug

func (l Logger) Debug(msg string, args ...interface{})

func (Logger) Error

func (l Logger) Error(msg string, args ...interface{})

func (Logger) Fatal

func (l Logger) Fatal(msg string, args ...interface{})

func (Logger) Info

func (l Logger) Info(msg string, args ...interface{})

func (Logger) Named

func (l Logger) Named(name string) service.Logger

func (Logger) Warn

func (l Logger) Warn(msg string, args ...interface{})

func (Logger) With

func (l Logger) With(args ...interface{}) service.Logger

Jump to

Keyboard shortcuts

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