MCPcopy Create free account
hub / github.com/PlayFab/gsdk / getLogsDirectory

Method getLogsDirectory

cpp/cppsdk/gsdk.cpp:568–583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

566 }
567
568 std::string GSDK::getLogsDirectory()
569 {
570 std::lock_guard<std::mutex> lock(GSDKInternal::get().m_configMutex);
571
572 const std::unordered_map<std::string, std::string>& config = GSDKInternal::get().m_configSettings;
573 auto it = config.find(GSDK::LOG_FOLDER_KEY);
574
575 if (it == config.end())
576 {
577 return "";
578 }
579 else
580 {
581 return it->second;
582 }
583 }
584
585 std::string GSDK::getSharedContentDirectory()
586 {

Callers

nothing calls this directly

Calls 2

findMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected