Documentation ¶
Overview ¶
Package kitloghlp contains some helpers for go-kit/kit/log.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTestLogger ¶
NewTestLogger returns a Context wrapping a testing.TB.Log.
Types ¶
type MultiLogger ¶
func (MultiLogger) Log ¶
func (m MultiLogger) Log(keyvals ...interface{}) error
type StringWrap ¶
type StringWrap struct {
Value interface{}
}
StringWrap wraps the Value as a fmt.Stringer.
func (StringWrap) String ¶
func (sw StringWrap) String() string
String returns a string representation (%v) of the underlying Value.
Click to show internal directories.
Click to hide internal directories.