logrus

package
v2.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() interfaces.Logger

New returns a new interfaces.Logger implementation based on logrus

func NewWithEntry

func NewWithEntry(logger *logrus.Entry) interfaces.Logger

NewWithEntry returns a new interfaces.Logger implementation based on a provided logrus entry instance Deprecated: NewWithEntry is deprecated.

func NewWithFieldLogger

func NewWithFieldLogger(logger logrus.FieldLogger) interfaces.Logger

NewWithFieldLogger returns a new interfaces.Logger implementation based on a provided logrus instance

func NewWithLogger

func NewWithLogger(logger *logrus.Logger) interfaces.Logger

NewWithLogger returns a new interfaces.Logger implementation based on a provided logrus instance Deprecated: NewWithLogger is deprecated.

Types

This section is empty.

Jump to

Keyboard shortcuts

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