xref: /openbmc/phosphor-logging/paths.cpp (revision 9ca4d137ad0f0dd03074652c55186a035fba27d1)
1 #include "config.h"
2 
3 #include "paths.hpp"
4 
5 namespace phosphor::logging::paths
6 {
7 auto error() -> std::filesystem::path
8 {
9     return std::filesystem::path(PERSIST_PATH_ROOT) / "errors";
10 }
11 auto extension() -> std::filesystem::path
12 {
13     return std::filesystem::path(PERSIST_PATH_ROOT) / "extensions";
14 }
15 } // namespace phosphor::logging::paths
16