tracer

package
v1.6.11 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Silent running
	Silent = true
)

Functions

func AppEntry

func AppEntry(objtype, msg string)

AppEntry - application level trace

func AppErr

func AppErr(objtype, msg, objdump string)

AppErr - generic trace errpr fuction

func AppExit

func AppExit(objtype, msg string)

AppExit - application level trace

func AppMsg

func AppMsg(objtype, msg, objdump string)

AppMsg - generic trace fuction

Types

type Tracer

type Tracer interface {
	AppMsg(objType, msg, serialisedObj string) // general application flow information
	AppErr(objType, msg, serialisedObj string) // application errors
	AppEntry(objType, msg string)              // function entry
	AppExit(objType, msg string)               // function exit
}

Tracer info capture interface - capturing testcase execution info - expects to be extended/improved over time

Jump to

Keyboard shortcuts

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