log

package
v0.0.0-...-54afde0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnrichWithCorrelationData

func EnrichWithCorrelationData(log *logrus.Entry, correlationData *api.CorrelationData) *logrus.Entry

EnrichWithCorrelationData sets log fields based on an optional correlationData struct

func EnrichWithPath

func EnrichWithPath(log *logrus.Entry, path string) *logrus.Entry

EnrichWithPath parses the URL path for part or all of an Azure resource ID and sets log fields accordingly

func EnrichWithResourceID

func EnrichWithResourceID(log *logrus.Entry, resourceID string) *logrus.Entry

EnrichWithResourceID sets log fields based on a resource ID

func GetLogger

func GetLogger() *logrus.Entry

GetLogger returns a consistently configured log entry

Types

This section is empty.

Jump to

Keyboard shortcuts

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