goglog

package
v0.0.0-...-c66a2f6 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: MIT Imports: 10 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger = newLogger()

Logger app logger

Functions

This section is empty.

Types

type LoggerType

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

func (*LoggerType) ConfigSentry

func (t *LoggerType) ConfigSentry(hub *sentry.Hub)

func (*LoggerType) Debug

func (t *LoggerType) Debug(args ...any)

Debug wrap logrus function

func (*LoggerType) Debugf

func (t *LoggerType) Debugf(format string, args ...any)

Debugf wrap logrus function

func (*LoggerType) Debugln

func (t *LoggerType) Debugln(args ...any)

Debugln wrap logrus function

func (*LoggerType) Error

func (t *LoggerType) Error(args ...any)

Error wrap logrus function

func (*LoggerType) Errorf

func (t *LoggerType) Errorf(format string, args ...any)

Errorf wrap logrus function

func (*LoggerType) Errorln

func (t *LoggerType) Errorln(args ...any)

Errorln wrap logrus function

func (*LoggerType) Fatal

func (t *LoggerType) Fatal(args ...any)

Fatal wrap logrus function

func (*LoggerType) Fatalf

func (t *LoggerType) Fatalf(format string, args ...any)

Fatalf wrap logrus function

func (*LoggerType) Fatalln

func (t *LoggerType) Fatalln(args ...any)

Fatalln wrap logrus function

func (*LoggerType) FlushSentry

func (t *LoggerType) FlushSentry(timeout time.Duration)

func (*LoggerType) Info

func (t *LoggerType) Info(args ...any)

Info wrap logrus function

func (*LoggerType) Infof

func (t *LoggerType) Infof(format string, args ...any)

Infof wrap logrus function

func (*LoggerType) Infoln

func (t *LoggerType) Infoln(args ...any)

Infoln wrap logrus function

func (*LoggerType) Panic

func (t *LoggerType) Panic(args ...any)

Panic wrap logrus function

func (*LoggerType) Panicf

func (t *LoggerType) Panicf(format string, args ...any)

Panicf wrap logrus function

func (*LoggerType) Panicln

func (t *LoggerType) Panicln(args ...any)

Panicln wrap logrus function

func (*LoggerType) Print

func (t *LoggerType) Print(args ...any)

Print wrap logrus function

func (*LoggerType) Printf

func (t *LoggerType) Printf(format string, args ...any)

Printf wrap logrus function

func (*LoggerType) Println

func (t *LoggerType) Println(args ...any)

Println wrap logrus function

func (*LoggerType) SetLevel

func (t *LoggerType) SetLevel(level logrus.Level)

SetLevel set logger level for filtering output

func (*LoggerType) Trace

func (t *LoggerType) Trace(err error) (isErr bool)

Panicln wrap logrus function

func (*LoggerType) Warn

func (t *LoggerType) Warn(args ...any)

Warn wrap logrus function

func (*LoggerType) Warnf

func (t *LoggerType) Warnf(format string, args ...any)

Warnf wrap logrus function

func (*LoggerType) Warning

func (t *LoggerType) Warning(args ...any)

Warning wrap logrus function

func (*LoggerType) Warningf

func (t *LoggerType) Warningf(format string, args ...any)

Warningf wrap logrus function

func (*LoggerType) Warningln

func (t *LoggerType) Warningln(args ...any)

Warningln wrap logrus function

func (*LoggerType) Warnln

func (t *LoggerType) Warnln(args ...any)

Warnln wrap logrus function

func (*LoggerType) WithError

func (t *LoggerType) WithError(err error) *logrus.Entry

WithError wrap logrus function

func (*LoggerType) WithField

func (t *LoggerType) WithField(key string, value any) *logrus.Entry

WithField wrap logrus function

func (*LoggerType) WithFields

func (t *LoggerType) WithFields(fields logrus.Fields) *logrus.Entry

WithFields wrap logrus function

Jump to

Keyboard shortcuts

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