log

package
v0.0.0-...-e40ef66 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GRPCRequestToLogFields

func GRPCRequestToLogFields(_ *grpc.StreamServerInfo, start time.Time, err error) []zapcore.Field

func HTTPRequestToLogFields

func HTTPRequestToLogFields(r *http.Request) []zapcore.Field

func NewLogger

func NewLogger(config config.Log) (*zap.Logger, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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