debug

package
v25.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Disable

func Disable()

Disable sets the DEBUG env var to false and makes the logger to log at info level.

func Enable

func Enable()

Enable sets the DEBUG env var to true and makes the logger to log at debug level.

func IsEnabled

func IsEnabled() bool

IsEnabled checks whether the debug flag is set or not.

Types

This section is empty.

Jump to

Keyboard shortcuts

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