Documentation ¶
Index ¶
- func Debug(v ...interface{})
- func Debugf(format string, v ...interface{})
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func NewLogrusInstance(cfg *Config) *logrusInstance
- func SetDefault(l Interface)
- func Warn(v ...interface{})
- func Warnf(format string, v ...interface{})
- type Config
- type Interface
- type LevelType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogrusInstance ¶
func NewLogrusInstance(cfg *Config) *logrusInstance
func SetDefault ¶
func SetDefault(l Interface)
Types ¶
type Config ¶
type Config struct { //nolint lumberjack.Logger `json:",inline,squash"` Level string `json:"level"` // info, warn, error, debug }
Click to show internal directories.
Click to hide internal directories.