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 ¶
- Version
- v25.0.6+incompatible
- Published
- Jul 24, 2024
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 1 minute ago –
Tools for package owners.