log_service: make function static

clang14++ doesn't build at HEAD because of the non-static function
|getDumpEntriesPath|.

Tested: clang builds.

Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
Change-Id: Ib6a03f3deb435afbb04445cd7f76ee0514ceb3f1
diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp
index 11cdeff..8b1466a 100644
--- a/redfish-core/lib/log_services.hpp
+++ b/redfish-core/lib/log_services.hpp
@@ -325,7 +325,7 @@
     return !redfishLogFiles.empty();
 }
 
-std::string getDumpEntriesPath(const std::string& dumpType)
+static std::string getDumpEntriesPath(const std::string& dumpType)
 {
     std::string entriesPath;