From: ashishj1729 Date: Thu, 22 May 2025 09:35:58 +0000 (+0530) Subject: Adding Debug Level in Logger X-Git-Tag: 4.0.0~5 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F96%2F14496%2F2;p=aiml-fw%2Fawmf%2Fmodelmgmtservice.git Adding Debug Level in Logger Issue-id: AIMLFW-208 Change-Id: I29b07eaeac3eca0db6ac69a9a2d49e4d1af73756 Signed-off-by: ashishj1729 --- diff --git a/logging/logging.go b/logging/logging.go index cc9a1a8..c9e7e72 100644 --- a/logging/logging.go +++ b/logging/logging.go @@ -53,3 +53,8 @@ func WARN(msg string, logParams ...interface{}) { func ERROR(msg string, logParams ...interface{}) { Logger.Info(msg, logParams...) } + +// Prefixes DEBUG for each log message +func DEBUG(msg string, logParams ...any) { + Logger.Debug(msg, logParams...) +}