package debug

import "github.com/docker/cli/cli/debug"

Index

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.

Source Files

debug.go

Version
v20.10.24+incompatible
Published
Mar 31, 2023
Platform
darwin/amd64
Imports
2 packages
Last checked
20 minutes ago

Tools for package owners.