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) ShowSource(mode c4hgol.ShowSrcMode)
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 NewConfig ¶ added in v0.9.2
func NewConfig(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) ShowSource ¶ added in v0.10.0
func (cfg Configurer) ShowSource(mode c4hgol.ShowSrcMode)
Click to show internal directories.
Click to hide internal directories.