Add event log for log cleared
-Create log on d-bus when user cleared all log entries.
Tested: tested and verified the implementation on greatlakes platform.
-Call method DeleteAll and check the d-bus path for event log.
Change-Id: Ib0e71b014608a25cc17bd803768b53774b8f4539
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
diff --git a/gen/xyz/openbmc_project/Logging/meson.build b/gen/xyz/openbmc_project/Logging/meson.build
index 6421d35..c27f679 100644
--- a/gen/xyz/openbmc_project/Logging/meson.build
+++ b/gen/xyz/openbmc_project/Logging/meson.build
@@ -1,2 +1,16 @@
# Generated file; do not modify.
+generated_sources += custom_target(
+ 'xyz/openbmc_project/Logging__cpp'.underscorify(),
+ input: [ '../../../../yaml/xyz/openbmc_project/Logging.errors.yaml', ],
+ output: [ 'error.cpp', 'error.hpp', ],
+ depend_files: sdbusplusplus_depfiles,
+ command: [
+ sdbuspp_gen_meson_prog, '--command', 'cpp',
+ '--output', meson.current_build_dir(),
+ '--tool', sdbusplusplus_prog,
+ '--directory', meson.current_source_dir() / '../../../../yaml',
+ 'xyz/openbmc_project/Logging',
+ ],
+)
+
subdir('Internal')