log

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Default is the default logrus logger
	Default = logrus.StandardLogger()

	// GrpcGo is a dedicated logrus logger for the grpc-go library. We use it
	// to control the library's chattiness.
	GrpcGo = logrus.New()

	// Loggers is convenient when you want to apply configuration to all
	// loggers
	Loggers = []*logrus.Logger{Default, GrpcGo}
)

Functions

func Configure

func Configure(format string, level string)

Configure sets the format and level on all loggers. It applies level mapping to the GrpcGo logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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