logger

package
v0.0.0-...-ebe42ad Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger *zap.Logger

Functions

func Default

func Default() *zap.Logger

Default initializes the logger with the default configuration.

func WithContext

func WithContext(ctx context.Context) *zap.Logger

WithContext returns a new logger with the provided context.

func WithLogger

func WithLogger(ctx context.Context, fields ...zapcore.Field) context.Context

WithLogger returns a new context with the provided logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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