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
v23.0.7+incompatible
Published
Aug 23, 2023
Platform
js/wasm
Imports
2 packages
Last checked
3 hours ago

Tools for package owners.