logrus

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatterType added in v1.2.0

func FormatterType() string

func NewLogger

func NewLogger(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