zapctx

package
v0.0.0-...-b53ed2c Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func L

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

L returns the global logger with considering the Go context.

func StartZapctx

func StartZapctx(version string) error

StartZapctx configure in zap.Globals logs the zapctx logger.

func StartZapctxWithLevel

func StartZapctxWithLevel(version string, logLevel zapcore.Level) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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