re base code
[sdc.git] / catalog-be / src / main / java / org / openecomp / sdc / be / components / validation / ValidationUtils.java
index 07505a2..a1d5a86 100644 (file)
@@ -1,15 +1,14 @@
 package org.openecomp.sdc.be.components.validation;
 
+import org.openecomp.sdc.common.log.wrappers.Logger;
 import org.openecomp.sdc.exception.ResponseFormat;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 public class ValidationUtils {
 
-    private static final Logger LOGGER = LoggerFactory.getLogger(ValidationUtils.class);
+    private static final Logger log = Logger.getLogger(ValidationUtils.class);
 
     public static  <T> T throwValidationException(ResponseFormat responseFormat, String logMessage, Object ... logParams){
-        LOGGER.error(logMessage, logParams);
+        log.error(logMessage, logParams);
         throw new ValidationException(responseFormat);
     }