diff options
| author | Jeff Carr <[email protected]> | 2024-01-01 15:43:50 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-01 15:43:50 -0600 |
| commit | 4e7bbd89900a733593f0848778103c1cf1a7145d (patch) | |
| tree | 22cd22124dd3ecba7c2a866b882d39aaf790d670 /log.go | |
| parent | 53ce3a8252090d5fb75d7fc1e3cd75a72c1415c6 (diff) | |
reorg to final resting place at go.wit.com/gui/guiv0.9.5
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'log.go')
| -rw-r--r-- | log.go | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ package gui import ( - witlog "go.wit.com/gui/log" + witlog "go.wit.com/log" ) // various debugging flags @@ -13,9 +13,9 @@ var logVerbose bool = false // var log interface{} -func log(a ...any) { - witlog.Where = "wit/gui" - witlog.Log(a...) +func log(b bool, a ...any) { + // witlog.Where = "wit/gui" + witlog.Log(b, a...) } func sleep(a ...any) { @@ -39,5 +39,5 @@ func logindent(b bool, depth int, format string, a ...any) { // array prepend(). Why isn't this a standard function. It should be: // a.prepend(debugGui, newFormat) a = append([]any{b, newFormat}, a...) - witlog.Log(a...) + witlog.Log(b, a...) } |
