blob: c24c76420b9e1f02bb3889dd2cdd454d3d228a3d [file] [log] [blame]
#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