loglevelhandler

package
v0.0.0-...-cf8a7de Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

w.Header().Set("Content-Type", "text/html; charset=utf-8")

func NewHandler

func NewHandler(rootHandler *instrumentation.Handler) *Handler

func (*Handler) AddLogHandler

func (h *Handler) AddLogHandler(lh *instrumentation.Handler) error

func (*Handler) RouteLevel

func (h *Handler) RouteLevel(w http.ResponseWriter, r *http.Request)

func (*Handler) RouteList

func (h *Handler) RouteList(w http.ResponseWriter, _ *http.Request)

func (*Handler) SetLogger

func (h *Handler) SetLogger(logger *log.Logger)

Jump to

Keyboard shortcuts

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