logs

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StrToLogCtx

func StrToLogCtx(ctx context.Context, key string, value string)

Helper function to add zerolog key/value pair to a golang context

func SubCtx

func SubCtx(ctx context.Context) context.Context

func SubLoggerCtx

func SubLoggerCtx(ctx context.Context, parent *zerolog.Logger) context.Context

Helper function to derive context from a parent context in zerolog

Types

This section is empty.

Jump to

Keyboard shortcuts

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