xdebug

package
v0.0.0-...-a89d410 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

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

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

func PrettyJsonByte(obj interface{}) string

PrettyJsonByte ...

func PrettyJsonPrint

func PrettyJsonPrint(message string, obj interface{})

PrettyJsonPrint ...

func PrettyKV

func PrettyKV(key string, val string)

PrettyKV ...

func PrettyKVWithPrefix

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

PrettyKV ...

func PrettyMap

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