debug

package
v2.10.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2018 License: Apache-2.0, 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