log

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitialCmdContext

func InitialCmdContext(ctx context.Context) context.Context

func InitialContext

func InitialContext(ctx context.Context) context.Context

func New

func New() *zap.Logger

func NewCmd

func NewCmd() *zap.Logger

func NewContext

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

func NewDev

func NewDev() *zap.Logger

func NewNull

func NewNull() *zap.Logger

func NewProd

func NewProd() *zap.Logger

func WithContext

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

WithContext returns a logger from the given context

Types

This section is empty.

Jump to

Keyboard shortcuts

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