log

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoggerGetter added in v0.20.0

type LoggerGetter interface {
	Logger() *log.Entry
}

LoggerGetter is an interface that provides logger.

type Settings

type Settings struct {
	// contains filtered or unexported fields
}

Settings stores configuration for logger.

func (*Settings) Flags

func (l *Settings) Flags() []cli.Flag

Flags returns CLI flags for logger settings.

func (*Settings) Init

func (l *Settings) Init() error

Init initializes logger and sets up hacks for other loggers (used by 3rd party libraries).

func (*Settings) Run

func (l *Settings) Run(c *cli.Context) error

Run initializes logger.

Jump to

Keyboard shortcuts

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