diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-10 00:16:22 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-10 00:16:22 +0800 |
commit | 9f5d24be31b06eacad1e5f3ee3cb43a6a784c8f0 (patch) | |
tree | 8bc9a74ce629c66856537b8e697aa483365c6682 /rpc | |
parent | b0f40beea6d62d48720726605329f743df8cc90c (diff) | |
download | go-tangerine-9f5d24be31b06eacad1e5f3ee3cb43a6a784c8f0.tar.gz go-tangerine-9f5d24be31b06eacad1e5f3ee3cb43a6a784c8f0.tar.zst go-tangerine-9f5d24be31b06eacad1e5f3ee3cb43a6a784c8f0.zip |
glog
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/api.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rpc/api.go b/rpc/api.go index 6e2ae2e93..58a9faa5d 100644 --- a/rpc/api.go +++ b/rpc/api.go @@ -8,6 +8,8 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/crypto" + "github.com/ethereum/go-ethereum/logger" + "github.com/ethereum/go-ethereum/logger/glog" "github.com/ethereum/go-ethereum/xeth" ) @@ -37,7 +39,7 @@ func (api *EthereumApi) xethAtStateNum(num int64) *xeth.XEth { func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error { // Spec at https://github.com/ethereum/wiki/wiki/JSON-RPC - rpclogger.Debugf("%s %s", req.Method, req.Params) + glog.V(logger.Debug).Infof("%s %s", req.Method, req.Params) switch req.Method { case "web3_sha3": |