mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-22 01:05:53 -05:00
more logging
This commit is contained in:
@@ -23,11 +23,11 @@ bool resolveCurl()
|
||||
(cleanupFunction)loaded_curl_lib->resolve("curl_easy_cleanup");
|
||||
|
||||
if (f_curl_init && f_curl_setopt && f_curl_perform && f_curl_cleanup) {
|
||||
blog(LOG_INFO, "curl loaded successfully");
|
||||
blog(LOG_INFO, "[adv-ss] curl loaded successfully");
|
||||
return true;
|
||||
}
|
||||
|
||||
blog(LOG_INFO, "curl symbols not resolved");
|
||||
blog(LOG_INFO, "[adv-ss] curl symbols not resolved");
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -43,13 +43,13 @@ bool loadCurl()
|
||||
#endif
|
||||
|
||||
for (QString path : locations) {
|
||||
blog(LOG_INFO, "trying '%s'", path.toUtf8().constData());
|
||||
blog(LOG_INFO, "[adv-ss] trying '%s'", path.toUtf8().constData());
|
||||
QFileInfo libPath(
|
||||
QDir(path).absoluteFilePath(curl_library_name));
|
||||
|
||||
if (libPath.exists() && libPath.isFile()) {
|
||||
QString libFilePath = libPath.absoluteFilePath();
|
||||
blog(LOG_INFO, "found curl library at '%s'",
|
||||
blog(LOG_INFO, "[adv-ss] found curl library at '%s'",
|
||||
libFilePath.toUtf8().constData());
|
||||
|
||||
loaded_curl_lib = new QLibrary(libFilePath, nullptr);
|
||||
@@ -62,6 +62,6 @@ bool loadCurl()
|
||||
}
|
||||
}
|
||||
|
||||
blog(LOG_ERROR, "can't find the curl library");
|
||||
blog(LOG_WARNING, "[adv-ss] can't find the curl library");
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ struct SceneSwitcherEntry {
|
||||
const char *sceneName = obs_source_get_name(s);
|
||||
obs_source_release(s);
|
||||
blog(LOG_INFO,
|
||||
"Advanced Scene Switcher match for '%s' - switch to scene '%s'",
|
||||
"[adv-ss] match for '%s' - switch to scene '%s'",
|
||||
getType(), sceneName);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user