logger

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *logrus.Entry

func NewFromRequest

func NewFromRequest(request *events.APIGatewayProxyRequest) *logrus.Entry

Types

type LogField

type LogField string
const (
	LogFieldStage                  LogField = "stage"
	LogFieldFunction               LogField = "function"
	LogFieldRequestID              LogField = "request_id"
	LogFieldRequestPath            LogField = "request_path"
	LogFieldRequestMethod          LogField = "request_method"
	LogFieldCorrelationID          LogField = "correlation_id"
	LogFieldOrderID                LogField = "order_id"
	LogFieldOrderWooID             LogField = "order_woo_id"
	LogFieldOrderNumber            LogField = "order_number"
	LogFieldCustomerPassportNumber LogField = "customer_passport_number"
)

Jump to

Keyboard shortcuts

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