Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicLogger ¶
type BasicLogger interface { Debug(msg string) Info(msg string) Warn(msg string) Error(msg string) Fatal(msg string) Debugf(msg string, v ...interface{}) Infof(msg string, v ...interface{}) Warnf(msg string, v ...interface{}) Errorf(msg string, v ...interface{}) Fatalf(msg string, v ...interface{}) Trace(msg string) BasicLogger }
BasicLogger represents a logger with basic capabilities
type FieldSet ¶
type FieldSet map[string]interface{}
FieldSet represents a map of entry level data used for structured logging.
type LogBuilder ¶ added in v0.4.0
LogBuilder represents a Log config facility
type Logger ¶
type Logger interface { BasicLogger WithFields(fields FieldSet) Logger WithField(key string, value interface{}) Logger WithError(err error) BasicLogger }
Logger represents a logger
Click to show internal directories.
Click to hide internal directories.