logger

package
v0.0.0-...-3befcbb Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogFatalOnErr

func LogFatalOnErr(err error, msg string)

Reduce boilerplate code all over the place with this handy function

func LogFor

func LogFor(ctx context.Context, values ...LogKV) (context.Context, zerolog.Logger)

func SetGcpLevels

func SetGcpLevels()

Customize zerolog for Cloud Platform a bit so things show up correctly.

Types

type LogKV

type LogKV func(*zerolog.Context) zerolog.Context

Jump to

Keyboard shortcuts

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