Documentation ¶
Index ¶
- type LogrusConfig
- type LogrusLogger
- func (l *LogrusLogger) Debug(args ...interface{})
- func (l *LogrusLogger) Debugf(format string, args ...interface{})
- func (l *LogrusLogger) Error(args ...interface{})
- func (l *LogrusLogger) Errorf(format string, args ...interface{})
- func (l *LogrusLogger) Info(args ...interface{})
- func (l *LogrusLogger) Infof(format string, args ...interface{})
- func (l *LogrusLogger) Warn(args ...interface{})
- func (l *LogrusLogger) Warnf(format string, args ...interface{})
- type LogrusNestedLogger
- func (l *LogrusNestedLogger) Debug(args ...interface{})
- func (l *LogrusNestedLogger) Debugf(format string, args ...interface{})
- func (l *LogrusNestedLogger) Error(args ...interface{})
- func (l *LogrusNestedLogger) Errorf(format string, args ...interface{})
- func (l *LogrusNestedLogger) Info(args ...interface{})
- func (l *LogrusNestedLogger) Infof(format string, args ...interface{})
- func (l *LogrusNestedLogger) Warn(args ...interface{})
- func (l *LogrusNestedLogger) Warnf(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogrusConfig ¶
type LogrusLogger ¶
type LogrusLogger struct { Config LogrusConfig Logger *logrus.Logger Output io.Writer }
func NewLogrusLogger ¶
func NewLogrusLogger(cfg LogrusConfig) *LogrusLogger
func (*LogrusLogger) Debug ¶
func (l *LogrusLogger) Debug(args ...interface{})
func (*LogrusLogger) Debugf ¶
func (l *LogrusLogger) Debugf(format string, args ...interface{})
func (*LogrusLogger) Error ¶ added in v0.4.0
func (l *LogrusLogger) Error(args ...interface{})
func (*LogrusLogger) Errorf ¶
func (l *LogrusLogger) Errorf(format string, args ...interface{})
func (*LogrusLogger) Info ¶
func (l *LogrusLogger) Info(args ...interface{})
func (*LogrusLogger) Infof ¶
func (l *LogrusLogger) Infof(format string, args ...interface{})
func (*LogrusLogger) Warn ¶ added in v0.4.0
func (l *LogrusLogger) Warn(args ...interface{})
func (*LogrusLogger) Warnf ¶
func (l *LogrusLogger) Warnf(format string, args ...interface{})
type LogrusNestedLogger ¶
func (*LogrusNestedLogger) Debug ¶
func (l *LogrusNestedLogger) Debug(args ...interface{})
func (*LogrusNestedLogger) Debugf ¶
func (l *LogrusNestedLogger) Debugf(format string, args ...interface{})
func (*LogrusNestedLogger) Error ¶ added in v0.4.0
func (l *LogrusNestedLogger) Error(args ...interface{})
func (*LogrusNestedLogger) Errorf ¶
func (l *LogrusNestedLogger) Errorf(format string, args ...interface{})
func (*LogrusNestedLogger) Info ¶
func (l *LogrusNestedLogger) Info(args ...interface{})
func (*LogrusNestedLogger) Infof ¶
func (l *LogrusNestedLogger) Infof(format string, args ...interface{})
func (*LogrusNestedLogger) Warn ¶ added in v0.4.0
func (l *LogrusNestedLogger) Warn(args ...interface{})
func (*LogrusNestedLogger) Warnf ¶
func (l *LogrusNestedLogger) Warnf(format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.