logger

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(args ...interface{})

Debug exported method

func Debugln

func Debugln(args ...interface{})

Debugln exported method

func Fatal

func Fatal(args ...interface{})

Fatal exported method

func Info

func Info(args ...interface{})

Info exported method

func SetLevel

func SetLevel(level logrus.Level)

SetLevel exported method

func Warn

func Warn(args ...interface{})

Warn exported method

func Warnf

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

Warnf exported method

func WithError

func WithError(err error) *logrus.Entry

WithError exported method

func WithField

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

WithField exported method

func WithTestLogger

func WithTestLogger(block func(logger *Logger)) *bytes.Buffer

WithTestLogger exported method

Types

type Logger

type Logger struct {
	*logrus.Logger
}

Logger embedded type

Jump to

Keyboard shortcuts

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