Documentation
¶
Index ¶
- func Debug(msg string, keyvals ...interface{})
- func Error(msg string, keyvals ...interface{})
- func Fatal(msg string, keyvals ...interface{})
- func Info(msg string, keyvals ...interface{})
- func InitLogger(conf *Config)
- func Panic(msg string, keyvals ...interface{})
- func Trace(msg string, keyvals ...interface{})
- func Warn(msg string, keyvals ...interface{})
- type Config
- type Logger
- func (l *Logger) Debug(msg string, keyvals ...interface{})
- func (l *Logger) Error(msg string, keyvals ...interface{})
- func (l *Logger) Fatal(msg string, keyvals ...interface{})
- func (l *Logger) Info(msg string, keyvals ...interface{})
- func (l *Logger) Panic(msg string, keyvals ...interface{})
- func (l *Logger) SetLevel(level logrus.Level)
- func (l *Logger) Trace(msg string, keyvals ...interface{})
- func (l *Logger) Warn(msg string, keyvals ...interface{})
- func (l *Logger) With(keyvals ...interface{}) *logrus.Entry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
func InitLogger(conf *Config)
Types ¶
type Config ¶
func DefaultConfig ¶
func DefaultConfig() *Config
func (*Config) SanityCheck ¶
SanityCheck is a basic checks for config.
Click to show internal directories.
Click to hide internal directories.