xdebug

package
v0.11.14 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: Apache-2.0 Imports: 11 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 GetCurrentDirectory added in v0.3.1

func GetCurrentDirectory() string

GetCurrentDirectory ...

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 PrettyJsonByte added in v0.3.1

func PrettyJsonByte(obj interface{}) string

PrettyJsonByte ...

func PrettyJsonPrint added in v0.2.5

func PrettyJsonPrint(message string, obj interface{})

PrettyJsonPrint ...

func PrettyKV added in v0.3.1

func PrettyKV(key string, val string)

PrettyKV ...

func PrettyKVWithPrefix added in v0.3.1

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

PrettyKV ...

func PrettyMap added in v0.3.1

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

PrettyMap ...

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