logrus

package
v1.1.0-beta.30 Latest Latest
Warning

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

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