xref: /openbmc/phosphor-logging/extensions/openpower-pels/entry_points.cpp (revision 99c2b405)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include "elog_entry.hpp"
2 #include "extensions.hpp"
3 #include "sdbusplus/bus.hpp"
4 
5 namespace openpower
6 {
7 namespace pels
8 {
9 
10 using namespace phosphor::logging;
11 
12 DISABLE_LOG_ENTRY_CAPS();
13 
14 void pelStartup(internal::Manager& logManager)
15 {
16 }
17 
18 REGISTER_EXTENSION_FUNCTION(pelStartup);
19 
20 void pelCreate(const std::string& message, uint32_t id, uint64_t timestamp,
21                Entry::Level severity, const AdditionalDataArg& additionalData,
22                const AssociationEndpointsArg& assocs)
23 {
24 }
25 
26 REGISTER_EXTENSION_FUNCTION(pelCreate);
27 
28 void pelDelete(uint32_t id)
29 {
30 }
31 
32 REGISTER_EXTENSION_FUNCTION(pelDelete);
33 
34 void pelDeleteProhibited(uint32_t id, bool& prohibited)
35 {
36     prohibited = false;
37 }
38 
39 REGISTER_EXTENSION_FUNCTION(pelDeleteProhibited);
40 
41 } // namespace pels
42 } // namespace openpower
43 

served by {OpenGrok

Last Index Update: Sun May 18 03:01:11 CDT 2025