witlog

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LOGOFF bool = false // turn this off, all logging stops
View Source
var LogError bool = true
View Source
var LogInfo bool = false
View Source
var LogNow bool = true // useful for active development

various debugging flags

View Source
var LogSleep bool = false
View Source
var LogVerbose bool = false
View Source
var LogWarn bool = false
View Source
var Where string = "gui/log"

Functions

func Exit

func Exit(a ...any)

exit() # yep. exits. I guess everything must be fine exit(3) # I guess 3 it is then exit("dont like apples") # ok. I'll make a note of that

func Log

func Log(a ...any)

func SetOutput

func SetOutput(w io.Writer)

func SetToolkitOutput added in v0.8.3

func SetToolkitOutput(newLog func(...any))

func Sleep

func Sleep(a ...any)

sleep() # you know what this does? sleeps for 1 second. yep. dump. easy. sleep(.1) # you know what this does? yes, it sleeps for 1/10th of a second

Types

type Spewt

type Spewt struct {
	// contains filtered or unexported fields
}
var SPEW Spewt

Jump to

Keyboard shortcuts

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