Documentation ¶
Index ¶
- func Debug(arg0 string, args ...interface{})
- func Error(arg0 string, args ...interface{}) error
- func Info(arg0 string, args ...interface{})
- func LogTo(target string)
- func Warn(arg0 string, args ...interface{}) error
- type Logger
- type TaggedLogger
- func (l *TaggedLogger) AddTags(tags ...string)
- func (l *TaggedLogger) Debug(arg0 string, args ...interface{})
- func (l *TaggedLogger) Error(arg0 string, args ...interface{}) error
- func (l *TaggedLogger) Info(arg0 string, args ...interface{})
- func (l *TaggedLogger) Name() string
- func (l *TaggedLogger) SetTags(tags ...string)
- func (l *TaggedLogger) Warn(arg0 string, args ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface { AddTags(...string) SetTags(...string) Name() string Debug(string, ...interface{}) Info(string, ...interface{}) Warn(string, ...interface{}) error Error(string, ...interface{}) error }
func NewTaggedLogger ¶
type TaggedLogger ¶
func (*TaggedLogger) AddTags ¶
func (l *TaggedLogger) AddTags(tags ...string)
func (*TaggedLogger) Debug ¶
func (l *TaggedLogger) Debug(arg0 string, args ...interface{})
func (*TaggedLogger) Error ¶
func (l *TaggedLogger) Error(arg0 string, args ...interface{}) error
func (*TaggedLogger) Info ¶
func (l *TaggedLogger) Info(arg0 string, args ...interface{})
func (*TaggedLogger) Name ¶
func (l *TaggedLogger) Name() string
func (*TaggedLogger) SetTags ¶
func (l *TaggedLogger) SetTags(tags ...string)
func (*TaggedLogger) Warn ¶
func (l *TaggedLogger) Warn(arg0 string, args ...interface{}) error
Click to show internal directories.
Click to hide internal directories.