log

package
v0.0.0-...-f0d23a6 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func L

func L() *zap.Logger

L returns a *zap.Logger.

func S

func S() *zap.SugaredLogger

S returns a *zap.SugaredLogger.

func WithZap

func WithZap(next http.Handler) http.Handler

WithZap is a logger middleware for Chi that implements the http.Handler interface.

Types

type LogNotifier

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

func NewLogNotifier

func NewLogNotifier() *LogNotifier

func (*LogNotifier) Error

func (n *LogNotifier) Error(err error)

func (*LogNotifier) Info

func (n *LogNotifier) Info(msg string)

Jump to

Keyboard shortcuts

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