Explorar el Código

add logging start/exit to js console

zelig hace 11 años
padre
commit
f90001e938
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      ethereum/repl.go

+ 2 - 0
ethereum/repl.go

@@ -23,11 +23,13 @@ func NewJSRepl(ethereum *eth.Ethereum) *JSRepl {
 }
 
 func (self *JSRepl) Start() {
+	logger.Infoln("init JS Console")
 	self.read()
 }
 
 func (self *JSRepl) Stop() {
 	self.re.Stop()
+	logger.Infoln("exit JS Console")
 }
 
 func (self *JSRepl) parseInput(code string) {