Documentation ¶
Index ¶
- func Debug(i ...interface{})
- func Debugf(format string, args ...interface{})
- func Debugj(j JSON)
- func DisableColor()
- func EnableColor()
- func Error(i ...interface{})
- func Errorf(format string, args ...interface{})
- func Errorj(j JSON)
- func Fatal(i ...interface{})
- func Fatalf(format string, args ...interface{})
- func Fatalj(j JSON)
- func Info(i ...interface{})
- func Infof(format string, args ...interface{})
- func Infoj(j JSON)
- func Output() io.Writer
- func Panic(i ...interface{})
- func Panicf(format string, args ...interface{})
- func Panicj(j JSON)
- func Prefix() string
- func Print(i ...interface{})
- func Printf(format string, args ...interface{})
- func Printj(j JSON)
- func SetHeader(h string)
- func SetLevel(v Lvl)
- func SetOutput(w io.Writer)
- func SetPrefix(p string)
- func Warn(i ...interface{})
- func Warnf(format string, args ...interface{})
- func Warnj(j JSON)
- type JSON
- type Logger
- func (l *Logger) Color() *color.Color
- func (l *Logger) Debug(i ...interface{})
- func (l *Logger) Debugf(format string, args ...interface{})
- func (l *Logger) Debugj(j JSON)
- func (l *Logger) DisableColor()
- func (l *Logger) EnableColor()
- func (l *Logger) Error(i ...interface{})
- func (l *Logger) Errorf(format string, args ...interface{})
- func (l *Logger) Errorj(j JSON)
- func (l *Logger) Fatal(i ...interface{})
- func (l *Logger) Fatalf(format string, args ...interface{})
- func (l *Logger) Fatalj(j JSON)
- func (l *Logger) Info(i ...interface{})
- func (l *Logger) Infof(format string, args ...interface{})
- func (l *Logger) Infoj(j JSON)
- func (l *Logger) Level() Lvl
- func (l *Logger) Output() io.Writer
- func (l *Logger) Panic(i ...interface{})
- func (l *Logger) Panicf(format string, args ...interface{})
- func (l *Logger) Panicj(j JSON)
- func (l *Logger) Prefix() string
- func (l *Logger) Print(i ...interface{})
- func (l *Logger) Printf(format string, args ...interface{})
- func (l *Logger) Printj(j JSON)
- func (l *Logger) SetHeader(h string)
- func (l *Logger) SetLevel(v Lvl)
- func (l *Logger) SetOutput(w io.Writer)
- func (l *Logger) SetPrefix(p string)
- func (l *Logger) Warn(i ...interface{})
- func (l *Logger) Warnf(format string, args ...interface{})
- func (l *Logger) Warnj(j JSON)
- type Lvl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableColor ¶
func DisableColor()
func EnableColor ¶
func EnableColor()
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) DisableColor ¶
func (l *Logger) DisableColor()
func (*Logger) EnableColor ¶
func (l *Logger) EnableColor()
Click to show internal directories.
Click to hide internal directories.