logger

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Represents logger interface and common loggers.

Index

Constants

This section is empty.

Variables

View Source
var NoopLogger = noopLogger{}

Functions

This section is empty.

Types

type Logger

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

Logger represents logger interface that used to log messages. This interface is a copy of go-kit Logger interface.

func GoKitAdapter

func GoKitAdapter(logger Logger) Logger

func NewChanLogger

func NewChanLogger(ch chan<- []interface{}) Logger

Jump to

Keyboard shortcuts

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