Update the RW Core configuration to accept similar configuration as the
Twisted Python Voltha Core.
Change-Id: Ic9b497dd2b2160d76c941f5115e8e6d0271916e9
diff --git a/common/log/log.go b/common/log/log.go
index 4bb31c0..e9f3c1b 100644
--- a/common/log/log.go
+++ b/common/log/log.go
@@ -2,11 +2,11 @@
import (
"errors"
+ "fmt"
zp "go.uber.org/zap"
zc "go.uber.org/zap/zapcore"
"runtime"
"strings"
- "fmt"
)
const (
@@ -26,6 +26,7 @@
// CONSOLE formats the log for the console, mostly used during development
const CONSOLE = "console"
+
// JSON formats the log using json format, mostly used by an automated logging system consumption
const JSON = "json"