Documentation
¶
Index ¶
- func AccessLogger(handler http.Handler, format string) (http.Handler, error)
- func BasicAccessLogger(handler http.Handler, format string, extraFields log.ExtraFieldsGeneratorFunc) (http.Handler, error)
- func ConfigureLogging(format string, verbose bool) error
- func LogRequest(r *http.Request) *logrus.Entry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessLogger ¶
AccessLogger configures the GitLab pages HTTP access logger middleware with extra log fields
func BasicAccessLogger ¶ added in v1.17.0
func BasicAccessLogger(handler http.Handler, format string, extraFields log.ExtraFieldsGeneratorFunc) (http.Handler, error)
BasicAccessLogger configures the GitLab pages basic HTTP access logger middleware
func ConfigureLogging ¶
ConfigureLogging will initialize the system logger.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.