aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2014-06-23 18:38:14 +0800
committerzelig <viktor.tron@gmail.com>2014-06-23 18:38:14 +0800
commitf90001e938ce34457cc0ed5822c8e7dff52ec58c (patch)
tree10695fe3d1a5a933a2a34f4b641c7cb989809c6e /ethereum
parenta32a15ad935952537be8c9b4ea9fcb561e5c6125 (diff)
downloadgo-tangerine-f90001e938ce34457cc0ed5822c8e7dff52ec58c.tar
go-tangerine-f90001e938ce34457cc0ed5822c8e7dff52ec58c.tar.gz
go-tangerine-f90001e938ce34457cc0ed5822c8e7dff52ec58c.tar.bz2
go-tangerine-f90001e938ce34457cc0ed5822c8e7dff52ec58c.tar.lz
go-tangerine-f90001e938ce34457cc0ed5822c8e7dff52ec58c.tar.xz
go-tangerine-f90001e938ce34457cc0ed5822c8e7dff52ec58c.tar.zst
go-tangerine-f90001e938ce34457cc0ed5822c8e7dff52ec58c.zip
add logging start/exit to js console
Diffstat (limited to 'ethereum')
-rw-r--r--ethereum/repl.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ethereum/repl.go b/ethereum/repl.go
index 0208459ad..a95d73300 100644
--- a/ethereum/repl.go
+++ b/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) {