Documentation ¶
Index ¶
- Variables
- func CheckLevel(level logger.Level) bool
- func Debug(tpl string, a ...interface{})
- func Display(data ...interface{})
- func Error(tpl string, a ...interface{})
- func Fatal(tpl string, a ...interface{})
- func GetDisplayString(data ...interface{}) string
- func GetLevel() logger.Level
- func Info(tpl string, a ...interface{})
- func IsDev() bool
- func IsTrace() bool
- func PrintPointerInfo(buf *bytes.Buffer, headlen int, pointers *pointerInfo)
- func Printf(tpl string, a ...interface{})
- func Println(a ...interface{})
- func SetDisableColor()
- func SetEnableColor()
- func Stack(skip int, indent string) []byte
- func Trace(tpl string, a ...interface{})
- func Warn(tpl string, a ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Logger *logger.Helper
)
Functions ¶
func GetDisplayString ¶
func GetDisplayString(data ...interface{}) string
GetDisplayString return data print string
func PrintPointerInfo ¶
PrintPointerInfo dump pointer value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.