logger

package
v0.0.0-...-2798f75 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DebugLevel = "debug"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func GetLogger

func GetLogger() *Logger

func (*Logger) Debug

func (log *Logger) Debug(msg string)

func (*Logger) Debugf

func (log *Logger) Debugf(format string, args ...interface{})

func (*Logger) Diff

func (log *Logger) Diff(obj1 interface{}, obj2 interface{})

func (*Logger) Error

func (log *Logger) Error(msg string)

func (*Logger) ErrorE

func (log *Logger) ErrorE(err error)

func (*Logger) Errorf

func (log *Logger) Errorf(format string, args ...interface{})

func (*Logger) Info

func (log *Logger) Info(msg string)

func (*Logger) Infof

func (log *Logger) Infof(format string, args ...interface{})

Jump to

Keyboard shortcuts

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