logger

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TraceLevel = logrus.TraceLevel
	DebugLevel = logrus.DebugLevel
	InfoLevel  = logrus.InfoLevel
	WarnLevel  = logrus.WarnLevel
	ErrorLevel = logrus.ErrorLevel
	FatalLevel = logrus.FatalLevel
	PanicLevel = logrus.PanicLevel
)

Functions

func Debug

func Debug(msg string, tags ...string)

func Error

func Error(msg string, err error, tags ...string)

func Fatal

func Fatal(msg string, tags ...string)

func Info

func Info(msg string, tags ...string)

func Panic

func Panic(msg string, tags ...string)

func SetLevel

func SetLevel(level Level)

func Trace

func Trace(msg string, tags ...string)

func Warn

func Warn(msg string, tags ...string)

Types

type Level

type Level = logrus.Level

Jump to

Keyboard shortcuts

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