logrus

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

README

Logrus (logging)

fx.Invoke(func(logger *logrus.Logger) {
	// use logger here
}),

The log level can be configured using the LOG_LEVEL env variable. Default level is info.

Possible values:

  • debug
  • info (this is the default / fallback level)
  • warn
  • error
  • fatal

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LOG_LEVEL = "LOG_LEVEL"
View Source
var Module = fx.Options(
	fx.Provide(
		newLogrus,
	),
	fx.WithLogger(logrusFxLogger),
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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