package
Version:
v2.9.0+incompatible
Opens a new window with list of versions in this module.
Published: Jul 13, 2020
License: AGPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 9
Opens a new window with list of known importers.
Documentation
¶
Package logger contains logging utilities.
Get returns logrus entry for given context. Set must be called before this method is called.
MakeRequestID returns a new request ID.
Set returns derived context with set logrus entry with given request ID.
SetEntry returns derived context with set given logrus entry.
GRPC is a compatibility wrapper between logrus entry and gRPC logger interface.
func (v *GRPC) Info(args ...interface{})
override InfoXXX methods with TraceXXX to keep gRPC and logrus levels in sync
func (v *GRPC) Infof(format string, args ...interface{})
func (v *GRPC) Infoln(args ...interface{})
V reports whether verbosity level l is at least the requested verbose level.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.