logging

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromContext

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

func New added in v0.4.1

func New(level zapcore.LevelEnabler, logFileName string, json bool) *zap.Logger

func NewContext

func NewContext(ctx context.Context, logger *zap.Logger) context.Context

Types

type LoggerKey

type LoggerKey struct{}

Jump to

Keyboard shortcuts

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