logging

package
v0.0.0-...-6dba68b Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequestLogger

func RequestLogger(logger *slog.Logger) func(innerHandler http.Handler) http.Handler

Types

type LevelVar

type LevelVar struct {
	Value *slog.LevelVar
}

func (*LevelVar) Set

func (l *LevelVar) Set(s string) error

func (*LevelVar) String

func (l *LevelVar) String() string

Jump to

Keyboard shortcuts

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