logger

package
v0.0.0-...-ac81adf Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogrus

func NewLogrus() *logrusWrapper

NewLogrus returns the instance of logrusWrapper logger

func NewLogrusLogger

func NewLogrusLogger(log *logrus.Logger) logger.Logger

Types

type Dummy

type Dummy struct{}

func (Dummy) Errorf

func (l Dummy) Errorf(_ string, _ ...interface{})

func (Dummy) Infof

func (l Dummy) Infof(_ string, _ ...interface{})

func (Dummy) Warnf

func (l Dummy) Warnf(_ string, _ ...interface{})

func (Dummy) WithError

func (l Dummy) WithError(_ error) logger.Logger

func (Dummy) WithFields

func (l Dummy) WithFields(_ logger.Fields) logger.Logger

type EntryDummy

type EntryDummy struct{}

func (EntryDummy) Errorf

func (l EntryDummy) Errorf(_ string, _ ...interface{})

func (EntryDummy) Infof

func (l EntryDummy) Infof(_ string, _ ...interface{})

func (EntryDummy) Warnf

func (l EntryDummy) Warnf(_ string, _ ...interface{})

func (EntryDummy) WithError

func (l EntryDummy) WithError(_ error) logger.Logger

func (EntryDummy) WithFields

func (l EntryDummy) WithFields(_ logger.Fields) logger.Logger

Jump to

Keyboard shortcuts

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