Log

package
v0.0.0-...-7e13a3b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var W = library{
	Platform: Platform.New(),
	Indent:   Indent.New(),
	Time:     Time.New(),
	File:     File.New(),
}

Functions

This section is empty.

Types

type Log

type Log interface {
	HexDump(title string, msg interface{})    //hex buf
	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
	Body() string
}

func New

func New() Log

Jump to

Keyboard shortcuts

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