logging

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRelativePath

func GetRelativePath(filePath string) string

func LogFile

func LogFile() *logrus.Entry

func LogRequests

func LogRequests(next http.HandlerFunc) http.HandlerFunc

LogRequests wraps the HTTP handler to log requests

func SetupLogging

func SetupLogging() *logrus.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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