log

package
v0.0.0-...-9abeaa0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = New()
View Source
var W = library{
	Platform: platform.New(),
	Indent:   indent.New(),
	Time:     time.New(),
	File:     file.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
}

func New

func New() Interface

Jump to

Keyboard shortcuts

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