loggers

package
v4.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: MIT Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger *logger

Functions

func Configure

func Configure(debug bool, service string, extensions LoggerExtension)

func Default

func Default(service string)

Types

type LoggerExtension

type LoggerExtension struct {
	Extensions []logrus.Hook
}

func (*LoggerExtension) Register

func (l *LoggerExtension) Register(extensions []logrus.Hook)

Jump to

Keyboard shortcuts

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