Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Default = New()
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
HexDump(title string, msg interface{}) //hex buf todo support fn return []byte
Hex(title string, msg interface{}) //hex value
Info(title string, msg ...interface{}) //info
Trace(title string, msg ...interface{}) //跟踪
Warning(title string, msg ...interface{}) //警告
Json(title string, msg ...interface{}) //pb json todo rename
Success(title string, msg ...interface{}) //成功
Struct(msg ...interface{}) //结构体 todo indent ,add title
Body() string
Msg() string
}
Click to show internal directories.
Click to hide internal directories.