logging

package
v1.4.21 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CtxFields

func CtxFields(ctx context.Context) log.Fields

func RandStringRunes

func RandStringRunes(n int) string

func SetupGrayLog

func SetupGrayLog(gelfAddr string, appMode string)

func WithLogField

func WithLogField(ctx context.Context, key string, value interface{}) context.Context

func WithLogFields

func WithLogFields(ctx context.Context, fields log.Fields) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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