log in json with rpc method
Merge pull request #15 from mistifyio/log-method

log in json with rpc method