loggers

package
v4.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2022 License: MIT Imports: 6 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