logger

package
v0.0.0-...-51ef577 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Info(v string)
	InfoWithFields(v string, fields LoggerFields)
	InfoError(v string, err error)
}

func NewLogger

func NewLogger(prefix string) Logger

NewLogger creates a new instance of logrus logger

type LoggerFields

type LoggerFields map[string]interface{}

Jump to

Keyboard shortcuts

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