lg2: commit: add stubs to support new sdbusplus events

Create empty stubs for the commit functions from the new event
log design[1].

[1]: https://github.com/openbmc/docs/blob/master/designs/event-logging.md

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I8c0232858f41b875e78d5e41f17c065ca727429d
diff --git a/lib/lg2_commit.cpp b/lib/lg2_commit.cpp
new file mode 100644
index 0000000..2c20311
--- /dev/null
+++ b/lib/lg2_commit.cpp
@@ -0,0 +1,21 @@
+#include <phosphor-logging/lg2/commit.hpp>
+#include <sdbusplus/async.hpp>
+#include <sdbusplus/exception.hpp>
+
+namespace lg2::details
+{
+
+auto commit([[maybe_unused]] sdbusplus::exception::generated_event_base&& t)
+    -> sdbusplus::message::object_path
+{
+    return {};
+}
+
+auto commit([[maybe_unused]] sdbusplus::async::context& ctx,
+            [[maybe_unused]] sdbusplus::exception::generated_event_base&& t)
+    -> sdbusplus::async::task<sdbusplus::message::object_path>
+{
+    co_return {};
+}
+
+} // namespace lg2::details