logrus

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: GPL-3.0 Imports: 2 Imported by: 19

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger = initLogrusLogger()

Functions

This section is empty.

Types

type Fields added in v1.2.0

type Fields = logrus.Fields

type LogrusEntry added in v1.2.0

type LogrusEntry struct {
	*logrus.Entry
}

func (*LogrusEntry) WithFields added in v1.2.0

func (l *LogrusEntry) WithFields(fields Fields) *LogrusEntry

type LogrusWrapper

type LogrusWrapper struct {
	*logrus.Logger
}

func New added in v1.0.1

func New() *LogrusWrapper

func Unwrap

func Unwrap(l logger.BasicLogger) *LogrusWrapper

func (*LogrusWrapper) Level

func (l *LogrusWrapper) Level() logger.Level

func (*LogrusWrapper) SetLevel

func (l *LogrusWrapper) SetLevel(lvl logger.Level)

func (*LogrusWrapper) WithFields added in v1.2.0

func (l *LogrusWrapper) WithFields(fields Fields) *LogrusEntry

Jump to

Keyboard shortcuts

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