logging

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2022 License: Apache-2.0 Imports: 19 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client(logger log.Logger) middleware.Middleware

Client is an client logging middleware.

func NewLogger

func NewLogger(cfg *conf.Logging) (log.Logger, func(), error)

func Server

func Server(logger log.Logger) middleware.Middleware

Server is an server logging middleware.

Types

type StringWithMask

type StringWithMask interface {
	StringWithMask(mask string) string
}

Jump to

Keyboard shortcuts

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