env

package
v0.0.53 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const MaxDebugLevel = 2

Variables

This section is empty.

Functions

func DebugLevel added in v0.0.50

func DebugLevel() int

func IsDebug

func IsDebug() bool

func SetDebugLevel added in v0.0.50

func SetDebugLevel(level int) int

DebugLevel determines verbosity level of debug logs. If LETS_DEBUG set to int - then verbosity is 1 or 2 If --debug or -d used multiple times - then verbosity is 1 or 2 If -dd used - then verbosity is 2. When determined - set debug level globally.

Types

This section is empty.

Jump to

Keyboard shortcuts

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