Documentation ¶ Index ¶ Variables type Config func NewConfig(logger *log.Logger, original io.Writer, reuse *Config) *Config func (c *Config) Enable(setEnabled bool) func (c *Config) Enabled() bool func (c *Config) Level() c4hgol.Level func (c *Config) Name() string func (c *Config) Output() io.Writer func (c *Config) SetLevel(l c4hgol.Level) func (c *Config) SetOutput(wr io.Writer) Constants ¶ This section is empty. Variables ¶ View Source var StdCfg c4hgol.Configurer = &stdCfg{ origWr: os.Stderr, enabled: true, } Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { // contains filtered or unexported fields } func NewConfig ¶ func NewConfig(logger *log.Logger, original io.Writer, reuse *Config) *Config func (*Config) Enable ¶ func (c *Config) Enable(setEnabled bool) func (*Config) Enabled ¶ func (c *Config) Enabled() bool func (*Config) Level ¶ func (c *Config) Level() c4hgol.Level func (*Config) Name ¶ func (c *Config) Name() string func (*Config) Output ¶ func (c *Config) Output() io.Writer func (*Config) SetLevel ¶ func (c *Config) SetLevel(l c4hgol.Level) func (*Config) SetOutput ¶ func (c *Config) SetOutput(wr io.Writer) Source Files ¶ View all Source files configurer.go standard.go Click to show internal directories. Click to hide internal directories.