Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { logrus.FieldLogger }
Logger provides closest to stdlib log.Logger interface
type StructuredLogger ¶
StructuredLogger provides the logger interface using Sirupsen/logrus
func NewLogger ¶
func NewLogger(format, level string, output io.Writer) *StructuredLogger
NewLogger creates StructuredLogger and configure it
func NewLoggerDefault ¶
func NewLoggerDefault() *StructuredLogger
Click to show internal directories.
Click to hide internal directories.