logging

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccessLogger

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

AccessLogger configures the GitLab pages HTTP access logger middleware

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