logrus

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(c *Config, logger *logrus.Logger) error

Configure sets up the logrus logger

Types

type Config

type Config struct {
	LogLevel string
}

Config is used to configure a logrus logger from CLI flags.

func (*Config) FlagSet

func (c *Config) FlagSet() *pflag.FlagSet

FlagSet creates a new flag set based on the current config

Jump to

Keyboard shortcuts

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