log

package
v0.0.0-...-0f09646 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(args ...interface{})

func Debugf

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

func Error

func Error(args ...interface{})

func Errorf

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

func Fatal

func Fatal(args ...interface{})

func Fatalf

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

func Info

func Info(args ...interface{})

func Infof

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

func Printf

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

func Println

func Println(args ...interface{})

func SetLevel

func SetLevel(level string)

func Warn

func Warn(args ...interface{})

func Warnf

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

Types

type Entry

type Entry struct {
	*logrus.Entry
	// contains filtered or unexported fields
}

func New

func New() *Entry

func NewEx

func NewEx(depth int) *Entry

func (*Entry) Debug

func (e *Entry) Debug(args ...interface{})

func (*Entry) Debugf

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

func (*Entry) Error

func (e *Entry) Error(args ...interface{})

func (*Entry) Errorf

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

func (*Entry) Fatal

func (e *Entry) Fatal(args ...interface{})

func (*Entry) Fatalf

func (e *Entry) Fatalf(format string, args ...interface{})

func (*Entry) Info

func (e *Entry) Info(args ...interface{})

func (*Entry) Infof

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

func (*Entry) Printf

func (e *Entry) Printf(format string, args ...interface{})

func (*Entry) Println

func (e *Entry) Println(args ...interface{})

func (*Entry) SetLevel

func (e *Entry) SetLevel(level string)

func (*Entry) Warn

func (e *Entry) Warn(args ...interface{})

func (*Entry) Warnf

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

func (*Entry) WithField

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

func (*Entry) WithFields

func (e *Entry) WithFields(fields map[string]interface{}) *Entry

Jump to

Keyboard shortcuts

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