| #include "extensions.hpp" |
| |
| namespace phosphor |
| { |
| namespace logging |
| { |
| |
| StartupFunctions& Extensions::getStartupFunctions() |
| { |
| static StartupFunctions startupFunctions{}; |
| return startupFunctions; |
| } |
| |
| CreateFunctions& Extensions::getCreateFunctions() |
| { |
| static CreateFunctions createFunctions{}; |
| return createFunctions; |
| } |
| |
| DeleteFunctions& Extensions::getDeleteFunctions() |
| { |
| static DeleteFunctions deleteFunctions{}; |
| return deleteFunctions; |
| } |
| |
| DeleteProhibitedFunctions& Extensions::getDeleteProhibitedFunctions() |
| { |
| static DeleteProhibitedFunctions deleteProhibitedFunctions{}; |
| return deleteProhibitedFunctions; |
| } |
| |
| LogIDsWithHwIsolationFunctions& Extensions::getLogIDWithHwIsolationFunctions() |
| { |
| static LogIDsWithHwIsolationFunctions logIDWithHwIsolationFunctions{}; |
| return logIDWithHwIsolationFunctions; |
| } |
| |
| Extensions::DefaultErrorCaps& Extensions::getDefaultErrorCaps() |
| { |
| static DefaultErrorCaps defaultErrorCaps = DefaultErrorCaps::enable; |
| return defaultErrorCaps; |
| } |
| |
| } // namespace logging |
| } // namespace phosphor |