logging

package
v0.0.0-...-51958b5 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogrusLogger

func NewLogrusLogger(logger *logrus.Logger) log.Logger

NewLogrusLogger returns a go-kit log.lgr that sends log events to a Logrus logger.

Types

type CtxLogger

type CtxLogger struct {
	Context log.Logger
	// contains filtered or unexported fields
}
var L *CtxLogger

func NewLogCtx

func NewLogCtx(logger *logrus.Logger) *CtxLogger

func (CtxLogger) Log

func (l CtxLogger) Log(keyvals ...interface{}) error

Jump to

Keyboard shortcuts

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