log

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Error domain.Verbosity = 2
	Info  domain.Verbosity = 4
	Debug domain.Verbosity = 5
)

Variables

View Source
var (
	Log domain.Logger
)

Functions

This section is empty.

Types

type Logger added in v0.2.8

type Logger struct {
	Verbosity domain.Verbosity
	Output    io.Writer
}

func (*Logger) Debug added in v0.2.8

func (l *Logger) Debug(value string)

func (*Logger) Debugf added in v0.2.8

func (l *Logger) Debugf(format string, args ...any)

func (*Logger) Error added in v0.2.8

func (l *Logger) Error(value string)

func (*Logger) Errorf added in v0.2.8

func (l *Logger) Errorf(format string, args ...any)

func (*Logger) GetVerbosity added in v0.2.8

func (l *Logger) GetVerbosity() domain.Verbosity

func (*Logger) Info added in v0.2.8

func (l *Logger) Info(value string)

func (*Logger) Infof added in v0.2.8

func (l *Logger) Infof(format string, args ...any)

func (*Logger) SetVerbosity added in v0.2.8

func (l *Logger) SetVerbosity(v domain.Verbosity)

Jump to

Keyboard shortcuts

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