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
v26.0.1+incompatible
Published
Apr 11, 2024
Platform
linux/amd64
Imports
2 packages
Last checked
1 hour ago

Tools for package owners.