summaryrefslogtreecommitdiffstats
path: root/common-app-logging/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'common-app-logging/src/main/java')
-rw-r--r--common-app-logging/src/main/java/org/openecomp/sdc/common/log/elements/LoggerSupportability.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/common-app-logging/src/main/java/org/openecomp/sdc/common/log/elements/LoggerSupportability.java b/common-app-logging/src/main/java/org/openecomp/sdc/common/log/elements/LoggerSupportability.java
index 6b9ef75b61..cb22394463 100644
--- a/common-app-logging/src/main/java/org/openecomp/sdc/common/log/elements/LoggerSupportability.java
+++ b/common-app-logging/src/main/java/org/openecomp/sdc/common/log/elements/LoggerSupportability.java
@@ -51,6 +51,10 @@ public class LoggerSupportability extends LoggerBase {
logger);
}
+ public static LoggerSupportability getLogger(Class<?> clazz) {
+ return LoggerFactory.getMdcLogger(LoggerSupportability.class, org.slf4j.LoggerFactory.getLogger(clazz));
+ }
+
public static LoggerSupportability getLogger(String className) {
return LoggerFactory.getMdcLogger(LoggerSupportability.class,
org.slf4j.LoggerFactory.getLogger(className));