logrus

package
v1.7.10 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileHook

func NewFileHook(paths []string, levels []logrus.Level) logrus.Hook

func NewLogger

func NewLogger(options *logger.Options) logger.Logger

func NewLogrusWrapper added in v1.7.9

func NewLogrusWrapper(b logger.Base) logger.Logger

func NewWriter

func NewWriter(outputPaths []string) io.Writer

Types

type V added in v1.7.9

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

func (*V) Print added in v1.7.9

func (v *V) Print(i ...interface{})

func (*V) Printf added in v1.7.9

func (v *V) Printf(s string, i ...interface{})

func (*V) Println added in v1.7.9

func (v *V) Println(i ...interface{})

Jump to

Keyboard shortcuts

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