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