diff options
author | zelig <viktor.tron@gmail.com> | 2014-06-23 18:38:14 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2014-06-23 18:38:14 +0800 |
commit | f90001e938ce34457cc0ed5822c8e7dff52ec58c (patch) | |
tree | 10695fe3d1a5a933a2a34f4b641c7cb989809c6e /ethereum/repl.go | |
parent | a32a15ad935952537be8c9b4ea9fcb561e5c6125 (diff) | |
download | go-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/repl.go')
-rw-r--r-- | ethereum/repl.go | 2 |
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) { |