MCPcopy Create free account
hub / github.com/SpriteOvO/AirPodsDesktop / GetLogFilePath

Function GetLogFilePath

Source/Logger.cpp:39–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37namespace Logger {
38
39QDir GetLogFilePath()
40{
41 static std::optional<QDir> result;
42 if (!result.has_value()) {
43 const auto workspace = Utils::File::GetWorkspace();
44 result = QDir{workspace.absoluteFilePath(CONFIG_PROGRAM_NAME ".log")};
45 }
46 return result.value();
47}
48
49bool Initialize(bool enableTrace)
50{

Callers 2

InitializeFunction · 0.85

Calls 1

GetWorkspaceFunction · 0.85

Tested by

no test coverage detected