logs

package
v0.26.7 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DebugLevel = logrus.DebugLevel
)

Variables

This section is empty.

Functions

func Debug

func Debug(args ...interface{})

func Debugf

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

func Debugln

func Debugln(args ...interface{})

func Error

func Error(args ...interface{})

func Errorf

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

func Errorln

func Errorln(args ...interface{})

func Fatal

func Fatal(i ...interface{})

func Fatalf

func Fatalf(s2 string, i ...interface{})

func Fatalln

func Fatalln(i ...interface{})

func Info

func Info(args ...interface{})

func Infof

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

func Infoln

func Infoln(args ...interface{})

func Init

func Init(isDebug bool)

func Panic

func Panic(i ...interface{})

func Panicf

func Panicf(s2 string, i ...interface{})

func Panicln

func Panicln(i ...interface{})

func Print

func Print(i ...interface{})

func Printf

func Printf(s2 string, i ...interface{})

func Println

func Println(i ...interface{})

func SetFormatter

func SetFormatter(logger *logrus.Logger)

func Trace

func Trace(args ...interface{})

func Warn

func Warn(args ...interface{})

func Warnf

func Warnf(format string, args ...interface{})

func Warning

func Warning(args ...interface{})

func Warningf

func Warningf(format string, args ...interface{})

func Warningln

func Warningln(args ...interface{})

func Warnln

func Warnln(args ...interface{})

func WithError

func WithError(err error) *logrus.Entry

func WithField

func WithField(key string, value interface{}) *logrus.Entry

func WithFields

func WithFields(fields Fields) *logrus.Entry

Types

type Fields

type Fields = logrus.Fields

type Logger

type Logger = logrus.Logger

func GetLogger

func GetLogger() *Logger

func New

func New(isDebug bool) *Logger

Jump to

Keyboard shortcuts

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