Rename jsonlogger method

This commit is contained in:
Taylor Gerring
2015-01-21 11:45:30 -06:00
parent 622bfd4f08
commit 0aa76d3e5b
2 changed files with 2 additions and 2 deletions

View File

@ -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)
}