mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-14 03:56:36 +00:00
add logging start/exit to js console
This commit is contained in:
parent
a32a15ad93
commit
f90001e938
1 changed files with 2 additions and 0 deletions
|
|
@ -23,11 +23,13 @@ func NewJSRepl(ethereum *eth.Ethereum) *JSRepl {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (self *JSRepl) Start() {
|
func (self *JSRepl) Start() {
|
||||||
|
logger.Infoln("init JS Console")
|
||||||
self.read()
|
self.read()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (self *JSRepl) Stop() {
|
func (self *JSRepl) Stop() {
|
||||||
self.re.Stop()
|
self.re.Stop()
|
||||||
|
logger.Infoln("exit JS Console")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (self *JSRepl) parseInput(code string) {
|
func (self *JSRepl) parseInput(code string) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue