Documentation
¶
Index ¶
- type Discard
- type Logger
- type Option
- type Std
- func (sf Std) DPanicf(format string, args ...interface{})
- func (sf Std) Debugf(format string, args ...interface{})
- func (sf Std) Errorf(format string, args ...interface{})
- func (sf Std) Fatalf(format string, args ...interface{})
- func (sf Std) Infof(format string, args ...interface{})
- func (sf *Std) Mode(enable bool)
- func (sf Std) Warnf(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discard ¶
type Discard struct{}
Discard is an logger on which all Write calls succeed without doing anything.
func NewDiscard ¶
func NewDiscard() Discard
NewDiscard a discard logger on which always succeed without doing anything
Click to show internal directories.
Click to hide internal directories.