Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Check ¶
Check: Display errors in convenient way with stack display "options" set to true -> exit on error. NOTICE: exit option must not be used if a "defer" function is initiated, otherwise, defer will never be applied !
func WarnCallerMess ¶
WarnCallerMess: return information about caller that can be interpreted and clickable inside LiteIde. Output format: "./main.go:114 Warning!,"
Types ¶
type DebugFunc ¶
DebugFunc: Retrieve information about the caller function include filename, function name and line number.
func DebugFuncNew ¶
func (*DebugFunc) GetCallerFunctionName ¶
func (*DebugFunc) GetCurrentFunctionName ¶
type FuncTracer ¶
type FuncTracer struct { FiltersInclude, FiltersExclude []string // contains filtered or unexported fields }
Get all information on runtime from callers functions include memory, processor, Goroutine ...
func FuncTracerNew ¶
func FuncTracerNew(filename string, delay float64) (*FuncTracer, error)
func (*FuncTracer) Close ¶
func (ft *FuncTracer) Close() (err error)
func (*FuncTracer) Write ¶
func (ft *FuncTracer) Write(line string) error
Click to show internal directories.
Click to hide internal directories.