loggers

package
v4.0.2 Latest Latest
Warning

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

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

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