Sfoglia il codice sorgente

add logging start/exit to js console

zelig 11 anni fa
parent
commit
f90001e938
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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) {