xdebug

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2021 License: Apache-2.0 Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DebugBytes

func DebugBytes(obj interface{}) string

DebugBytes ...

func DumpPanicTrace

func DumpPanicTrace(kb int)

DumpPanicTrace trace panic stack info.

func IfPanic

func IfPanic(err error)

IfPanic ...

func IsDevelopmentMode

func IsDevelopmentMode() bool

IsDevelopmentMode 判断是否是生产模式

func IsTestingMode

func IsTestingMode() bool

IsTestingMode ...

func PanicTrace

func PanicTrace(kb int) []byte

PanicTrace trace panic stack info.

func PrettyJsonPrint added in v0.2.5

func PrettyJsonPrint(message string, obj interface{})

PrettyJsonPrint ...

func PrintKV

func PrintKV(key string, val string)

PrintKV ...

func PrintKVWithPrefix

func PrintKVWithPrefix(prefix string, key string, val string)

PrettyKVWithPrefix ...

func PrintMap

func PrintMap(data map[string]interface{})

PrintMap ...

func PrintObject

func PrintObject(message string, obj interface{})

DebugObject ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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