add logging start/exit to js console

This commit is contained in:
zelig 2014-06-23 11:38:14 +01:00
parent a32a15ad93
commit f90001e938
1 changed files with 2 additions and 0 deletions

View File

@ -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) {