logger

package
v0.0.0-...-1a5deed Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoKitLogger

type GoKitLogger struct {
	// contains filtered or unexported fields
}

GoKitLogger is an instance of a logger using the go-kit library

func (GoKitLogger) Log

func (logger GoKitLogger) Log(keyValuePairs ...interface{}) error

Log is responsible for logging stuff

type Logger

type Logger interface {
	Log(...interface{}) error
}

Logger is the interface used for implementing loggers

func NewGoKitLogger

func NewGoKitLogger(writer io.Writer) Logger

NewGoKitLogger creates an instance of the go kit logger

Jump to

Keyboard shortcuts

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