aboutsummaryrefslogtreecommitdiffstats
path: root/common/src/main/java
diff options
context:
space:
mode:
authorLukasz Muszkieta <lukasz.muszkieta@nokia.com>2018-04-12 18:24:12 +0200
committerLukasz Muszkieta <lukasz.muszkieta@nokia.com>2018-04-16 10:19:26 +0200
commitb196509debdb43411abfcdc55b3ce87a0a30da6e (patch)
treef1bace792887294eaf8e861b5ea5011c08574610 /common/src/main/java
parent4bce6adb7b0ae77e62f276d21ecd4683c9b6c8d9 (diff)
PnfReadyEventConsumer implementation
Change-Id: I7252400a3f60ca22ddfa71edb28eaf1d16ccd9b4 Issue-ID: SO-466 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
Diffstat (limited to 'common/src/main/java')
-rw-r--r--common/src/main/java/org/openecomp/mso/logger/MsoLogger.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/src/main/java/org/openecomp/mso/logger/MsoLogger.java b/common/src/main/java/org/openecomp/mso/logger/MsoLogger.java
index 45f2746f0b..9f918805c0 100644
--- a/common/src/main/java/org/openecomp/mso/logger/MsoLogger.java
+++ b/common/src/main/java/org/openecomp/mso/logger/MsoLogger.java
@@ -279,6 +279,16 @@ public class MsoLogger {
logger.debug(msg, t);
}
+ /**
+ * Log error message with the details of the exception that caused the error.
+ * @param msg
+ * @param throwable
+ */
+ public void error(String msg, Throwable throwable) {
+ prepareMsg(ERROR_LEVEL);
+ logger.error(msg, throwable);
+ }
+
// Info methods
/**
* Record the Info event