logging

package
v0.0.0-...-95bd726 Latest Latest
Warning

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

Go to latest
Published: May 12, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAcceptableStrings

func GetAcceptableStrings() []string

Gets the list of all acceptable strings representing our log levels (used for validation)

func LevelFromString

func LevelFromString(str string) *logrus.Level

Gets a logrus log level from the given string (which likely comes from a CLI argument), verifying that the string is

in our list of accepted log levels

Types

This section is empty.

Jump to

Keyboard shortcuts

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