Documentation ¶
Index ¶
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Debugln(args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Errorln(args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Fatalln(args ...interface{})
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func Infoln(args ...interface{})
- func Logf(level logrus.Level, format string, args ...interface{})
- func Logln(level logrus.Level, args ...interface{})
- func Panic(args ...interface{})
- func Panicf(format string, args ...interface{})
- func Panicln(args ...interface{})
- func SetFormatter(formatter logrus.Formatter)
- func SetGlobal()
- func SetIDKey(key string)
- func SetLevel(level logrus.Level)
- func SetOutput(out io.Writer)
- func Trace(args ...interface{})
- func Tracef(format string, args ...interface{})
- func Traceln(args ...interface{})
- func Warn(args ...interface{})
- func Warnf(format string, args ...interface{})
- func Warning(args ...interface{})
- func Warningf(format string, args ...interface{})
- func Warningln(args ...interface{})
- func Warnln(args ...interface{})
- type Config
- type Entry
- func (e *Entry) Debug(args ...interface{})
- func (e *Entry) Debugf(format string, args ...interface{})
- func (e *Entry) Debugln(args ...interface{})
- func (e *Entry) Error(args ...interface{})
- func (e *Entry) Errorf(format string, args ...interface{})
- func (e *Entry) Errorln(args ...interface{})
- func (e *Entry) Fatal(args ...interface{})
- func (e *Entry) Fatalf(format string, args ...interface{})
- func (e *Entry) Fatalln(args ...interface{})
- func (e *Entry) Info(args ...interface{})
- func (e *Entry) Infof(format string, args ...interface{})
- func (e *Entry) Infoln(args ...interface{})
- func (e *Entry) Log(level logrus.Level, args ...interface{})
- func (e *Entry) Logf(level logrus.Level, format string, args ...interface{})
- func (e *Entry) Logln(level logrus.Level, args ...interface{})
- func (e *Entry) OnError(err error) *Entry
- func (e *Entry) Panic(args ...interface{})
- func (e *Entry) Panicf(format string, args ...interface{})
- func (e *Entry) Panicln(args ...interface{})
- func (e *Entry) SetFields(fields ...interface{}) *Entry
- func (e *Entry) Trace(args ...interface{})
- func (e *Entry) Tracef(format string, args ...interface{})
- func (e *Entry) Traceln(args ...interface{})
- func (e *Entry) Warn(args ...interface{})
- func (e *Entry) Warnf(format string, args ...interface{})
- func (e *Entry) Warning(args ...interface{})
- func (e *Entry) Warningf(format string, args ...interface{})
- func (e *Entry) Warningln(args ...interface{})
- func (e *Entry) Warnln(args ...interface{})
- func (e *Entry) WithError(err error) *Entry
- func (e *Entry) WithField(key string, value interface{}) *Entry
- func (e *Entry) WithFields(fields logrus.Fields) *Entry
- func (e *Entry) WithTime(t time.Time) *Entry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetFormatter ¶
Types ¶
type Config ¶
type Config struct { Level string `json:"level"` Formatter formatter `json:"formatter"` LocalLogger bool `json:"localLogger"` }
func (*Config) UnmarshalJSON ¶
func (*Config) UnmarshalYAML ¶
type Entry ¶
func LogWithFields
deprecated
func WithFields ¶
func WithFields(fields ...interface{}) *Entry
WithFields creates a new entry without an id and the given fields
Click to show internal directories.
Click to hide internal directories.