X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=mecm%2Fmepm%2Fapplcm%2Fk8shelm%2Fpkg%2Fplugin%2Flogger.go;h=4cebdb61b641889eac2ba487e9dd2bd1168634c8;hb=650f6ee3da7d8af68e3cbd58914731892e4cb70b;hp=265bd685649a8504d97a30698863923f10030218;hpb=e363ff9fc0e8d060a3da53e44a95f1dbf0d84d3f;p=ealt-edge.git diff --git a/mecm/mepm/applcm/k8shelm/pkg/plugin/logger.go b/mecm/mepm/applcm/k8shelm/pkg/plugin/logger.go index 265bd68..4cebdb6 100644 --- a/mecm/mepm/applcm/k8shelm/pkg/plugin/logger.go +++ b/mecm/mepm/applcm/k8shelm/pkg/plugin/logger.go @@ -16,8 +16,9 @@ package plugin import ( - "github.com/sirupsen/logrus" "os" + + "github.com/sirupsen/logrus" ) func GetLogger(logFile string, loggerLevel logrus.Level, file *os.File) *logrus.Logger { @@ -29,6 +30,6 @@ func GetLogger(logFile string, loggerLevel logrus.Level, file *os.File) *logrus. FullTimestamp: true, }) logger.SetLevel(loggerLevel) - logger.Info("logger created") + logger.Infof("logger created") return logger -} \ No newline at end of file +}