Code Review
/
aiml-fw
/
awmf
/
modelmgmtservice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
4a2d003
)
Adding Debug Level in Logger
96/14496/2
author
ashishj1729
<jain.ashish@samsung.com>
Thu, 22 May 2025 09:35:58 +0000
(15:05 +0530)
committer
Ashish Jain
<jain.ashish@samsung.com>
Fri, 23 May 2025 07:30:18 +0000
(07:30 +0000)
Issue-id: AIMLFW-208
Change-Id: I29b07eaeac3eca0db6ac69a9a2d49e4d1af73756
Signed-off-by: ashishj1729 <jain.ashish@samsung.com>
logging/logging.go
patch
|
blob
|
history
diff --git
a/logging/logging.go
b/logging/logging.go
index
cc9a1a8
..
c9e7e72
100644
(file)
--- 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...)
+}