c4qblog

package module
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2022 License: MIT Imports: 3 Imported by: 1

README

c4qblog

GoDoc

Configuration for qblog logging

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL