log

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: Apache-2.0 Imports: 5 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 {
	*zap.SugaredLogger
}

func New

func New(debug bool) *Logger

func (*Logger) Named

func (l *Logger) Named(name string) *Logger

func (*Logger) WithError

func (l *Logger) WithError(err error) log.Logger

func (*Logger) WithField

func (l *Logger) WithField(string, interface{}) log.Logger

func (*Logger) WithFields

func (l *Logger) WithFields(field log.Fields) log.Logger

Jump to

Keyboard shortcuts

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