logging

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitLogger

func InitLogger(version string, l *logrus.Logger)

func InitStandardLogger

func InitStandardLogger(version string)

func RL

RL (request logging) records correlation id. You must use middleware.Correlation() as a middleware in order for the correlation ID to appear.

Types

type CustomJSONFormatter

type CustomJSONFormatter struct {
	// contains filtered or unexported fields
}

func (*CustomJSONFormatter) Format

func (f *CustomJSONFormatter) Format(entry *logrus.Entry) ([]byte, error)

Jump to

Keyboard shortcuts

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