Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrMissingParameter = errors.NewKind("missing configuration parameter: %s")
)
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Debugf(format string, args ...interface{}) Errorf(format string, args ...interface{}) Fatalf(format string, args ...interface{}) Infof(format string, args ...interface{}) Warningf(format string, args ...interface{}) }
Logger represents a generic logger, based on logrus.Logger
type LoggerFactory ¶
LoggerFactory is a helper for create logrus.Logger's
func (LoggerFactory) Apply ¶
func (c LoggerFactory) Apply() error
Apply configures the standard logrus Logger with the LoggerFactory values.
func (LoggerFactory) New ¶
func (c LoggerFactory) New() (Logger, error)
New returns a new logger based on the LoggerFactory values.
Click to show internal directories.
Click to hide internal directories.