blob: 2fc87925287e8388f2e64968dca1ea7ed4d99a0a [file] [log] [blame]
Matt Spinler99c2b402019-05-23 14:29:16 -05001#include "extensions.hpp"
2
3namespace phosphor
4{
5namespace logging
6{
7
William A. Kennington IIIaeccabc2021-05-19 16:39:10 -07008StartupFunctions& Extensions::getStartupFunctions()
9{
10 static StartupFunctions startupFunctions{};
11 return startupFunctions;
12}
13
14CreateFunctions& Extensions::getCreateFunctions()
15{
16 static CreateFunctions createFunctions{};
17 return createFunctions;
18}
19
20DeleteFunctions& Extensions::getDeleteFunctions()
21{
22 static DeleteFunctions deleteFunctions{};
23 return deleteFunctions;
24}
25
26DeleteProhibitedFunctions& Extensions::getDeleteProhibitedFunctions()
27{
28 static DeleteProhibitedFunctions deleteProhibitedFunctions{};
29 return deleteProhibitedFunctions;
30}
31
32Extensions::DefaultErrorCaps& Extensions::getDefaultErrorCaps()
33{
34 static DefaultErrorCaps defaultErrorCaps = DefaultErrorCaps::enable;
35 return defaultErrorCaps;
36}
Matt Spinler99c2b402019-05-23 14:29:16 -050037
38} // namespace logging
39} // namespace phosphor