| 37 | namespace Logger { |
| 38 | |
| 39 | QDir 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 | |
| 49 | bool Initialize(bool enableTrace) |
| 50 | { |
no test coverage detected