Documentation
¶
Index ¶
- Constants
- type Console
- func (output *Console) Debug(format string, v ...interface{})
- func (output *Console) DebugForce(format string, v ...interface{})
- func (output *Console) Error(format string, v ...interface{})
- func (output *Console) ErrorForce(format string, v ...interface{})
- func (output *Console) Info(format string, v ...interface{})
- func (output *Console) InfoForce(format string, v ...interface{})
- func (output *Console) Init(level int, colorful bool, normal, err io.Writer)
- func (output *Console) Level() int
- func (output *Console) SetLevel(level int) int
- func (output *Console) Warn(format string, v ...interface{})
- func (output *Console) WarnForce(format string, v ...interface{})
- type Interface
- type ToNull
- func (output ToNull) Debug(string, ...interface{})
- func (output ToNull) DebugForce(string, ...interface{})
- func (output ToNull) Error(string, ...interface{})
- func (output ToNull) ErrorForce(string, ...interface{})
- func (output ToNull) Info(string, ...interface{})
- func (output ToNull) InfoForce(string, ...interface{})
- func (output ToNull) Level() int
- func (output *ToNull) SetLevel(v int) int
- func (output ToNull) Warn(string, ...interface{})
- func (output ToNull) WarnForce(string, ...interface{})
Constants ¶
View Source
const ( Debug = iota Info Warn Error )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Console ¶
type Console struct {
// contains filtered or unexported fields
}
func (*Console) DebugForce ¶
func (*Console) ErrorForce ¶
type Interface ¶
type Interface interface {
Level() int
SetLevel(int) int
Debug(format string, v ...interface{})
Info(format string, v ...interface{})
Warn(format string, v ...interface{})
Error(format string, v ...interface{})
DebugForce(format string, v ...interface{})
InfoForce(format string, v ...interface{})
WarnForce(format string, v ...interface{})
ErrorForce(format string, v ...interface{})
}
Click to show internal directories.
Click to hide internal directories.