logger

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DEBUG     = "debug"
	RELEASE   = "release"
	BENCHMARK = "benchmark"
)

Functions

func New

func New(env, srvName string) zerolog.Logger

func NewLogWithCtx

func NewLogWithCtx(ctx context.Context, log zerolog.Logger) zerolog.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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