Current log messages fails to show up in the console.
Issue-ID: NONRTRIC-1020
Change-Id: I056ac1d7d091420a1ba70531a3585855fd15cb9e
Signed-off-by: aravind.est <aravindhan.a@est.tech>
start := time.Now()
err := xml.Unmarshal(*fBytevalue, &f)
if err != nil {
+ log.Error("Error unmarshalling xml file: ", err)
return nil, errors.New("Cannot unmarshal xml-file")
}
log.Debug("Unmarshal xml file XmlFileEvent: ", time.Since(start).String())
log.Debug("Marshal json : ", time.Since(start).String())
if err != nil {
+ log.Error("Cannot marshal converted json ", err)
return nil, errors.New("Cannot marshal converted json")
}
return json, nil