Implement Commit client interface

Implement the Commit client interface to take the
exception unique name and call the dbus Commit interface
to create the error log.

Change-Id: Id780e98efd32b9806ea24e4e551f786a055cc05c
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/elog.hpp b/elog.hpp
index b340f2d..e919b3d 100644
--- a/elog.hpp
+++ b/elog.hpp
@@ -80,15 +80,17 @@
  */
 template <typename T> class elogException : public elogExceptionBase
 {
-public:
-    const char* what() const noexcept override { return T::err_code; }
+    public:
+        const char* what() const noexcept override { return T::err_code; }
+        const char* name() const noexcept { return T::err_code; }
 };
 
 /** @fn commit()
  *  @brief Create an error log entry based on journal
  *          entry with a specified MSG_ID
+ *  @param[in] - Exception name
  */
-void commit();
+void commit(std::string&& name);
 
 /** @fn elog()
  *  @brief Create a journal log entry based on predefined