Add Logging.Create Interface

This interface, when implemented by phosphor-logging, would allow one
to create xyz.openbmc_project.Logging.Entry objects via a Create D-Bus
method call.

This interface was designed for the following reasons:
1) Bypass the current step of creating an error log which involves
   searching the journal for specific predefined metadata keywords and
   just make the D-Bus call to the logging server directly to create
   the error.  This means the code would no longer need to include the
   phosphor-logging elog-errors.hpp header, which has an added bonus of
   not requiring the bbappends that are currently required to tell
   phosphor-logging about any error YAML files outside of the main repo.

2) As these errors are no longer are involved in the elog() exceptions
   that are thrown across D-Bus calls by sdbusplus, there is no longer a
   need to include the xyz/openbmc_project/.../error.hpp sdbusplus
   headers, which were required even for errors that the developer never
   had any intent on returning from D-Bus calls.

Change-Id: I297b04bb81d507ec31ffcd489109f56dd8888afb
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
1 file changed