Documentation ¶
Index ¶
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Errorfn(fn string, err error)
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func InvalidArg(argumentName string)
- func InvalidArgValue(argumentName string, argumentValue string)
- func MissingArg(argumentName string)
- func Panic(args ...interface{})
- func Panicf(format string, args ...interface{})
- func Print(args ...interface{})
- func Printf(format string, args ...interface{})
- func Warn(args ...interface{})
- func Warnf(format string, args ...interface{})
- func WithFields(fields logrus.Fields) *logrus.Entry
- type Event
- type StandardLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InvalidArgValue ¶
InvalidArgValue is a standard error message
Types ¶
type Event ¶
type Event struct {
// contains filtered or unexported fields
}
Event stores messages to log later, from our standard interface
type StandardLogger ¶
StandardLogger provides a single configured logging service
func GetLogger ¶
func GetLogger() *StandardLogger
func NewLogger ¶
func NewLogger(formatter, level string) *StandardLogger
NewLogger creates a new instance of a logging instance
Click to show internal directories.
Click to hide internal directories.