Documentation
¶
Index ¶
- func Debug(args ...interface{})
- func DebugWithFields(l interface{}, f Fields)
- func Debugf(format string, args ...interface{})
- func Error(args ...interface{})
- func ErrorWithFields(l interface{}, f Fields)
- func Errorf(format string, args ...interface{})
- func Fatal(args ...interface{})
- func FatalWithFields(l interface{}, f Fields)
- func Fatalf(format string, args ...interface{})
- func Info(args ...interface{})
- func InfoWithFields(l interface{}, f Fields)
- func Infof(format string, args ...interface{})
- func Panic(args ...interface{})
- func PanicWithFields(l interface{}, f Fields)
- func Panicf(format string, args ...interface{})
- func SetLogFormatter(formatter logrus.Formatter)
- func SetLogLevel(level string) error
- func Warn(args ...interface{})
- func WarnWithFields(l interface{}, f Fields)
- func Warnf(format string, args ...interface{})
- type Fields
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
func Debug(args ...interface{})
Debug logs a message at level Debug on the standard logger.
func DebugWithFields ¶
func DebugWithFields(l interface{}, f Fields)
Debug logs a message with fields at level Debug on the standard logger.
func Debugf ¶
func Debugf(format string, args ...interface{})
Debugf logs a message at level Infof on the standard logger.
func Error ¶
func Error(args ...interface{})
Error logs a message at level Error on the standard logger.
func ErrorWithFields ¶
func ErrorWithFields(l interface{}, f Fields)
ErrorWithFields logs a message with fields at level Error on the standard logger.
func Errorf ¶
func Errorf(format string, args ...interface{})
Errorf logs a message at level Errorf on the standard logger.
func Fatal ¶
func Fatal(args ...interface{})
Fatal logs a message at level Fatal on the standard logger.
func FatalWithFields ¶
func FatalWithFields(l interface{}, f Fields)
FatalWithFields logs a message with fields at level Fatal on the standard logger.
func Fatalf ¶
func Fatalf(format string, args ...interface{})
Fatalf logs a message at level Fatalf on the standard logger.
func Info ¶
func Info(args ...interface{})
Info logs a message at level Info on the standard logger.
func InfoWithFields ¶
func InfoWithFields(l interface{}, f Fields)
Debug logs a message with fields at level Debug on the standard logger.
func Infof ¶
func Infof(format string, args ...interface{})
Infof logs a message at level Infof on the standard logger.
func Panic ¶
func Panic(args ...interface{})
Panic logs a message at level Panic on the standard logger.
func PanicWithFields ¶
func PanicWithFields(l interface{}, f Fields)
PanicWithFields logs a message with fields at level Panic on the standard logger.
func Panicf ¶
func Panicf(format string, args ...interface{})
Panicf logs a message at level Panicf on the standard logger.
func SetLogFormatter ¶
SetLogFormatter sets the formatting of the logger
func SetLogLevel ¶
SetLogLevel sets the logging level for the logger
func Warn ¶
func Warn(args ...interface{})
Warn logs a message at level Warn on the standard logger.
func WarnWithFields ¶
func WarnWithFields(l interface{}, f Fields)
WarnWithFields logs a message with fields at level Warn on the standard logger.