logging

package
v0.0.0-...-f2ba1b1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(jsonLogging bool, logLevel string, logRequestsParam bool, skipPathsParam []string)

* * Apply the given configuration to the global logger. *

func GinHandlerFunc

func GinHandlerFunc() gin.HandlerFunc

* * Gin compatible function to enable logger injection into the gin-framework *

func Log

func Log() *logrus.Logger

* * Global access to the singleton logger *

func PrettyPrintObject

func PrettyPrintObject(objectInterface interface{}) string

* * Helper method to print objects with json-serialization information in a more human readable way

Types

This section is empty.

Jump to

Keyboard shortcuts

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