logging

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CurrentLogLevel = logrus.ErrorLevel

CurrentLogLevel is the currently configured logLevel The default logLevel is "ERROR"

Functions

func ConfigureLogger

func ConfigureLogger() error

ConfigureLogger configures the logger using the logLevel from the environment

func FormattingLoggerWithName added in v0.0.2

func FormattingLoggerWithName(name string, loggerFn func(msg string, keysAndValues ...interface{})) func(format string, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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