summaryrefslogtreecommitdiff
path: root/log/log.go
diff options
context:
space:
mode:
Diffstat (limited to 'log/log.go')
-rw-r--r--log/log.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/log/log.go b/log/log.go
index 23a6db8..e728fa2 100644
--- a/log/log.go
+++ b/log/log.go
@@ -15,7 +15,6 @@ package witlog
// log("something", foo, bar)
// var DEBUG bool = true
// log(DEBUG, "something else", someOtherVariable) # if DEBUG == false, return doing nothing
-// log(SPEW, "something else", someOtherVariable) # this get's sent to spew.Dump(). Very useful for debugging!
//
import (
@@ -27,7 +26,6 @@ import (
"fmt"
"time"
"reflect"
- "github.com/davecgh/go-spew/spew"
// "net"
)
@@ -50,7 +48,6 @@ type Spewt struct {
a bool
}
-var SPEW Spewt
/*
sleep() # you know what this does? sleeps for 1 second. yep. dump. easy.
@@ -118,17 +115,6 @@ func Log(a ...any) {
a[0] = Where
}
- if (reflect.TypeOf(a[0]) == reflect.TypeOf(SPEW)) {
- // a = a[1:]
- a[0] = Where
- if (debugToolkit) {
- scs := spew.ConfigState{MaxDepth: 1}
- scs.Dump(a)
- // spew.Dump(a)
- }
- return
- }
-
golog.Println(a...)
if (externalLog == nil) {
// golog.Println(a...)