MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / get_dsv_log_path

Function get_dsv_log_path

DSView/pv/log.cpp:127–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127QString get_dsv_log_path()
128{
129 QString lf;
130
131 #ifdef Q_OS_LINUX
132 lf = QDir::homePath() + "/DSView.log";
133 #endif
134
135 #ifdef _WIN32
136 lf = GetUserDataDir() + "/DSView.log";
137 #endif
138
139 #ifdef Q_OS_DARWIN
140 lf = GetUserDataDir() + "/DSView.log";
141 #endif
142
143 return lf;
144}

Callers 5

dsv_log_enalbe_logfileFunction · 0.85
dsv_clear_log_fileFunction · 0.85
on_action_setting_logMethod · 0.85
on_open_log_fileMethod · 0.85
on_clear_log_fileMethod · 0.85

Calls 1

GetUserDataDirFunction · 0.85

Tested by

no test coverage detected