logging

package
v2.0.0-alpha1 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: MIT Imports: 6 Imported by: 76

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client(opts ...Option) middleware.Middleware

Client is an client logging middleware.

func Server

func Server(opts ...Option) middleware.Middleware

Server is an server logging middleware.

Types

type Option

type Option func(*options)

Option is HTTP logging option.

func WithLogger

func WithLogger(logger log.Logger) Option

WithLogger with middleware logger.

Jump to

Keyboard shortcuts

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