blob: 2fc87925287e8388f2e64968dca1ea7ed4d99a0a [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;
}
Extensions::DefaultErrorCaps& Extensions::getDefaultErrorCaps()
{
static DefaultErrorCaps defaultErrorCaps = DefaultErrorCaps::enable;
return defaultErrorCaps;
}
} // namespace logging
} // namespace phosphor