logrus

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Default

func Default(name string) logger.Logger

func NewLogger

func NewLogger(opts ...logger.Option) *logrusLogger

func WithFormatter

func WithFormatter(formatter logrus.Formatter) logger.Option

func WithReportCall

func WithReportCall(reportCall bool) logger.Option

Types

type Option

type Option func(*Options)

type Options

type Options struct {
	logger.Options
	// contains filtered or unexported fields
}

Directories

Path Synopsis
hooks
rotates

Jump to

Keyboard shortcuts

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