logrus

package
v1.1.0-beta.7 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	FormattersRoot = root + ".formatters"
)

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(formatter lg.Formatter, hooks ...lg.Hook) log.Logger

NewLogger returns logger with default options.

func NewOptions

func NewOptions() (*logrus.Options, error)

NewOptions returns options from config file or environment vars.

Types

This section is empty.

Directories

Path Synopsis
formatter

Jump to

Keyboard shortcuts

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