logging

package
v0.0.3-0...-16756a2 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(cfg *viper.Viper) error

Configure sets the log level and output location/format

func Logger

func Logger(ctx context.Context) *logrus.Entry

Logger returns the global logger

func WithTxnID

func WithTxnID(ctx context.Context, txnID string) context.Context

WithRqId returns a context which knows its transaction ID

Types

This section is empty.

Jump to

Keyboard shortcuts

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