verb

package
v0.0.0-...-a1cdf6c Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: MIT, MIT Imports: 6 Imported by: 3

README

verb

Provides debugging tools, quick debug prints. These can be turned on or off dynamically at runtime.

Author: Jason E. Aten, Ph.D.

License: MIT license.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OurStdout io.Writer = os.Stdout

so we can multi write easily, use our own printf

View Source
var Verbose bool = false

for tons of debug output

View Source
var VerboseVerbose bool = false

Functions

func FileLine

func FileLine(depth int) string

func P

func P(format string, a ...interface{})

func PB

func PB(w io.Writer, format string, a ...interface{})

func PP

func PP(format string, a ...interface{})

func PPP

func PPP(format string, a ...interface{})

without the file/line, otherwise the same as PP

func Printf

func Printf(format string, a ...interface{}) (n int, err error)

Printf formats according to a format specifier and writes to standard output. It returns the number of bytes written and any write error encountered.

func TSPrintf

func TSPrintf(format string, a ...interface{})

time-stamped printf

Types

This section is empty.

Jump to

Keyboard shortcuts

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