context

package
v0.0.0-...-61829c1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

func GetLogID

func GetLogID() string

func SetLogID

func SetLogID(id string)

Types

type LogIDHook

type LogIDHook struct {
}

func NewLogIDHook

func NewLogIDHook() *LogIDHook

func (*LogIDHook) Fire

func (hook *LogIDHook) Fire(entry *logrus.Entry) error

func (*LogIDHook) Levels

func (hook *LogIDHook) Levels() []logrus.Level

Jump to

Keyboard shortcuts

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