Documentation ¶
Index ¶
- type Configurer
- func (cfg Configurer) Enable(setEnabled bool)
- func (cfg Configurer) Enabled() bool
- func (cfg Configurer) Level() c4hgol.Level
- func (cfg Configurer) Name() string
- func (cfg Configurer) Output() io.Writer
- func (cfg Configurer) SetLevel(l c4hgol.Level)
- func (cfg Configurer) SetOutput(wr io.Writer)
- func (cfg Configurer) ShowSrc(on, filepath bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configurer ¶ added in v0.9.1
type Configurer struct {
// contains filtered or unexported fields
}
func Config ¶
func Config(log *qblog.Logger) Configurer
func (Configurer) Enable ¶ added in v0.9.1
func (cfg Configurer) Enable(setEnabled bool)
func (Configurer) Enabled ¶ added in v0.9.1
func (cfg Configurer) Enabled() bool
func (Configurer) Level ¶ added in v0.9.1
func (cfg Configurer) Level() c4hgol.Level
func (Configurer) Name ¶ added in v0.9.1
func (cfg Configurer) Name() string
func (Configurer) Output ¶ added in v0.9.1
func (cfg Configurer) Output() io.Writer
func (Configurer) SetLevel ¶ added in v0.9.1
func (cfg Configurer) SetLevel(l c4hgol.Level)
func (Configurer) SetOutput ¶ added in v0.9.1
func (cfg Configurer) SetOutput(wr io.Writer)
func (Configurer) ShowSrc ¶ added in v0.9.1
func (cfg Configurer) ShowSrc(on, filepath bool)
Click to show internal directories.
Click to hide internal directories.