about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/cmd.go b/src/cmd.go
index 9e75478..a17da4a 100644
--- a/src/cmd.go
+++ b/src/cmd.go
@@ -1,17 +1,13 @@
 package main
 
 import (
-	"log"
-
 	"github.com/radare/r2pipe-go"
+	"github.com/sirupsen/logrus"
 )
 
 func r2cmd(r2p *r2pipe.Pipe, input string) string {
 
-	if *verbose == true {
-		// print the command for debugging purposes
-		log.Printf("> %s", input)
-	}
+	logrus.Tracef("> %s", input)
 
 	// send a command
 	buf1, err := r2p.Cmd(input)