logger

package
v0.0.0-...-95117ed Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureLogging

func ConfigureLogging()

ConfigureLogging set logging lever from config

func GetLogger

func GetLogger(ctx context.Context, logf *log.Entry, key string, value interface{}) *log.Entry

GetLogger returns our logger with some custom fields

func GetRequestID

func GetRequestID(ctx context.Context) string

GetRequestID will get reqID from a http request and return it as a string

Types

This section is empty.

Jump to

Keyboard shortcuts

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