logging

package
v1.60.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BasicAccessLogger added in v1.17.0

func BasicAccessLogger(handler http.Handler, format string) (http.Handler, error)

BasicAccessLogger configures the GitLab pages basic HTTP access logger middleware

func CleanURL added in v1.52.0

func CleanURL(value string) (ret string)

func ConfigureLogging

func ConfigureLogging(format string, verbose bool) error

ConfigureLogging will initialize the system logger.

func LogRequest added in v1.10.0

func LogRequest(r *http.Request) *logrus.Entry

LogRequest will inject request host and path to the logged messages

Types

This section is empty.

Jump to

Keyboard shortcuts

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