Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
Logger wraps a go-kit Logger
func NewFmtLogger ¶ added in v0.1.2
NewFmtLogger creates a new logger logging using fmt format strings
func NewJSONLogger ¶ added in v0.1.2
NewJSONLogger creates a new logger logging in JSON
func NewNopLogger ¶
func NewNopLogger() *Logger
NewNopLogger creates a new logger for testing purposes
func (*Logger) SyncLogger ¶ added in v0.1.2
SyncLogger returns a new logger which can be used concurrently by goroutines. Only one goroutine is allowed to log at a time and other goroutines will block until the logger is available.
Click to show internal directories.
Click to hide internal directories.