zap

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.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 {
	*zap.Logger
}

func NewLogger

func NewLogger(logger *zap.Logger) *Logger

func (*Logger) Debug

func (l *Logger) Debug(msg string, fields []any)

func (*Logger) Error

func (l *Logger) Error(msg string, fields []any)

func (*Logger) Info

func (l *Logger) Info(msg string, fields []any)

func (*Logger) Trace

func (l *Logger) Trace(msg string, fields []any)

Jump to

Keyboard shortcuts

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