logging

package
v0.0.0-...-b69e565 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2025 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFields

func AddFields(ctx context.Context, fields ...zap.Field) context.Context

func GetFields

func GetFields(ctx context.Context) []zap.Field

func LevelHandler

func LevelHandler(w http.ResponseWriter, r *http.Request)

func New

func New(name string) *zap.Logger

New creates a new logger with a default "logger" field so we can identify the source of log messages.

func NewConfig

func NewConfig() zap.Config

Types

This section is empty.

Jump to

Keyboard shortcuts

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