debug

package
v0.0.0-...-0985de9 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DebugMode indicates gin mode is debug.
	DebugMode = "debug"
	// ReleaseMode indicates gin mode is release.
	ReleaseMode = "release"
	// TestMode indicates gin mode is test.
	TestMode = "test"
)

Variables

View Source
var (
	DefaultWriter      io.Writer = os.Stdout
	DefaultErrorWriter io.Writer = os.Stderr
)

Functions

func DD

func DD(format string, values ...interface{})

func DE

func DE(err error)

func DEDetails

func DEDetails(err error, format string, a ...interface{})

func IsDebugging

func IsDebugging() bool

func PrintDirExePos

func PrintDirExePos(source string, format string, values ...interface{})

func PrintErrDirExePos

func PrintErrDirExePos(source string, err error, format string, values ...interface{})

func SetMode

func SetMode(value string)

func SetPrintPrefix

func SetPrintPrefix(prefix string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL