logrus

package
v0.0.0-...-130c993 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(output io.Writer, debug, trace bool) watermill.LoggerAdapter

Types

type Logger

type Logger struct {
	L *logrus.Logger

	waterlog.Opts
	// contains filtered or unexported fields
}

func (Logger) Debug

func (l Logger) Debug(msg string, fields watermill.LogFields)

func (Logger) Error

func (l Logger) Error(msg string, err error, fields watermill.LogFields)

func (Logger) Info

func (l Logger) Info(msg string, fields watermill.LogFields)

func (Logger) Trace

func (l Logger) Trace(msg string, fields watermill.LogFields)

func (Logger) With

Jump to

Keyboard shortcuts

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