diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-01-22 01:45:30 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-01-22 01:45:30 +0800 |
commit | 0aa76d3e5b3eb261103ebf5afd515394df0af914 (patch) | |
tree | 6e7aa7f5d82f0644661806395a673c9f6b7e1697 /logger | |
parent | 622bfd4f0815b9220f02e6b79f74ed1c77ec7649 (diff) | |
download | dexon-0aa76d3e5b3eb261103ebf5afd515394df0af914.tar.gz dexon-0aa76d3e5b3eb261103ebf5afd515394df0af914.tar.zst dexon-0aa76d3e5b3eb261103ebf5afd515394df0af914.zip |
Rename jsonlogger method
Diffstat (limited to 'logger')
-rw-r--r-- | logger/loggers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logger/loggers.go b/logger/loggers.go index 053f120be..cd465ce87 100644 --- a/logger/loggers.go +++ b/logger/loggers.go @@ -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) } |