aboutsummaryrefslogtreecommitdiffstats
path: root/logger
diff options
context:
space:
mode:
Diffstat (limited to 'logger')
-rw-r--r--logger/loggers.go2
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)
}