logger

package
v0.1.35 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	DebugEnabled bool
	Out          io.Writer
	// contains filtered or unexported fields
}

func NewLogger

func NewLogger(infoOut, errOut io.Writer, debug bool) *Logger

func NewStandardLogger added in v0.1.30

func NewStandardLogger() *Logger

func (*Logger) Debug

func (l *Logger) Debug(format string, v ...interface{})

func (*Logger) Error

func (l *Logger) Error(format string, v ...interface{})

func (*Logger) Info

func (l *Logger) Info(format string, v ...interface{})

func (*Logger) SetErrOut added in v0.1.30

func (l *Logger) SetErrOut(out io.Writer)

func (*Logger) SetInfoOut added in v0.1.30

func (l *Logger) SetInfoOut(out io.Writer)

func (*Logger) Warning

func (l *Logger) Warning(format string, v ...interface{})

Jump to

Keyboard shortcuts

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