diff options
Diffstat (limited to 'chomp.go')
| -rw-r--r-- | chomp.go | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -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) |
