Documentation ¶
Index ¶
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func SetOutput(w io.Writer)
- func Warn(args ...interface{})
- func Warnf(format string, args ...interface{})
- type ColorLogger
- func (cl *ColorLogger) Error(args ...interface{})
- func (cl *ColorLogger) Errorf(format string, args ...interface{})
- func (cl *ColorLogger) Info(args ...interface{})
- func (cl *ColorLogger) Infof(format string, args ...interface{})
- func (cl *ColorLogger) SetOutput(w io.Writer)
- func (cl *ColorLogger) Warn(args ...interface{})
- func (cl *ColorLogger) Warnf(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ColorLogger ¶
type ColorLogger struct {
// contains filtered or unexported fields
}
func NewColorLogger ¶
func NewColorLogger(l *log.Logger) *ColorLogger
func (*ColorLogger) Error ¶
func (cl *ColorLogger) Error(args ...interface{})
func (*ColorLogger) Errorf ¶
func (cl *ColorLogger) Errorf(format string, args ...interface{})
func (*ColorLogger) Info ¶
func (cl *ColorLogger) Info(args ...interface{})
func (*ColorLogger) Infof ¶
func (cl *ColorLogger) Infof(format string, args ...interface{})
func (*ColorLogger) SetOutput ¶ added in v0.0.2
func (cl *ColorLogger) SetOutput(w io.Writer)
func (*ColorLogger) Warn ¶
func (cl *ColorLogger) Warn(args ...interface{})
func (*ColorLogger) Warnf ¶
func (cl *ColorLogger) Warnf(format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.