diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2018-04-16 12:46:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-04-16 12:46:19 +0000 |
commit | 5304d1554c35486203ca86a353d9059996430ad3 (patch) | |
tree | e65dd2a46cefc5a26ba3727d6a5c233c9eb34bab /common/src/main/java | |
parent | c2b037bece932832773ee93ff42e376d110909f1 (diff) | |
parent | b196509debdb43411abfcdc55b3ce87a0a30da6e (diff) |
Merge "PnfReadyEventConsumer implementation"
Diffstat (limited to 'common/src/main/java')
-rw-r--r-- | common/src/main/java/org/openecomp/mso/logger/MsoLogger.java | 10 |
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 |