Commit 0aa76d3e authored by Taylor Gerring's avatar Taylor Gerring

Rename jsonlogger method

parent 622bfd4f
......@@ -229,7 +229,7 @@ func (s *Ethereum) Start(seed bool) error {
"coinbase": ethutil.Bytes2Hex(s.KeyManager().Address()),
"eth_version": ProtocolVersion,
}
jsonlogger.Log("starting", evd)
jsonlogger.LogJson("starting", evd)
err := s.net.Start()
if err != nil {
return err
......
......@@ -121,7 +121,7 @@ func NewJsonLogger() *JsonLogger {
return &JsonLogger{}
}
func (logger *JsonLogger) Log(msgname string, dict map[string]interface{}) {
func (logger *JsonLogger) LogJson(msgname string, dict map[string]interface{}) {
if _, ok := dict["ts"]; !ok {
dict["ts"] = time.Now().Local().Format(time.RFC3339Nano)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment