Documentation ¶
Index ¶
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(format string, args ...interface{})
- func GetLogger() *logrus.Logger
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func Panic(args ...interface{})
- func Panicf(format string, args ...interface{})
- func Print(args ...interface{})
- func Printf(format string, args ...interface{})
- func Println(args ...interface{})
- func Setup(conf Config)
- func Trace(args ...interface{})
- func Tracef(format string, args ...interface{})
- func Warn(args ...interface{})
- func Warnf(format string, args ...interface{})
- func WithField(key string, value interface{}) *logrus.Entry
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Level string `json:"level" toml:"level" yaml:"level" mapstructure:"level" ` ReportCaller bool `json:"report_caller" toml:"report_caller" yaml:"report_caller" mapstructure:"report_caller" ` Format string `json:"format" toml:"format" yaml:"format" mapstructure:"format" ` Console bool `json:"console" toml:"console" yaml:"console" mapstructure:"console" ` File string `json:"file" toml:"file" yaml:"file" mapstructure:"file" ` }
Click to show internal directories.
Click to hide internal directories.