debug

package
v17.12.1-ce-rc1+incomp... Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 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