summaryrefslogtreecommitdiff
path: root/chomp.go
diff options
context:
space:
mode:
Diffstat (limited to 'chomp.go')
-rw-r--r--chomp.go15
1 files changed, 9 insertions, 6 deletions
diff --git a/chomp.go b/chomp.go
index ed30315..9bf331a 100644
--- a/chomp.go
+++ b/chomp.go
@@ -6,11 +6,14 @@ package shell
send it anything, always get back a string
*/
-import "log"
-import "fmt"
-import "reflect"
-import "strings"
-import "bytes"
+import (
+ "fmt"
+ "reflect"
+ "strings"
+ "bytes"
+
+ "go.wit.com/log"
+)
// import "github.com/davecgh/go-spew/spew"
@@ -81,7 +84,7 @@ func Chomp(a interface{}) string {
default:
tmp := fmt.Sprint("shell.Chomp() NO HANDLER FOR TYPE: %T", a)
handleError(fmt.Errorf(tmp), -1)
- log.Printf("shell.Chomp() NEED TO MAKE CONVERTER FOR type =", reflect.TypeOf(t))
+ log.Warn("shell.Chomp() NEED TO MAKE CONVERTER FOR type =", reflect.TypeOf(t))
}
tmp := "shell.Chomp() THIS SHOULD NEVER HAPPEN"
handleError(fmt.Errorf(tmp), -1)