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 NewChanLogger ¶
func NewChanLogger(ch chan<- []interface{}) Logger
Click to show internal directories.
Click to hide internal directories.