mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
- Replace DebugLog() with LogWithArgs(int nLevel, const WCHAR* format, ... ), so that variable strings can be logged but the log level can be set to those other than LOG_DEBUG
- Note: DebugLog() is still in the code as I was not sure whether it is required to maintain Litestep interoperability - Replaced instances of LOG_DEBUG where other log levels would be more appropriate
This commit is contained in:
@ -33,7 +33,7 @@ void CheckVersion(void* dummy)
|
||||
0);
|
||||
if (hRootHandle == NULL)
|
||||
{
|
||||
LSLog(LOG_DEBUG, APPNAME, L"CheckUpdate: InternetOpen failed.");
|
||||
LSLog(LOG_ERROR, APPNAME, L"CheckUpdate: InternetOpen failed.");
|
||||
return;
|
||||
}
|
||||
|
||||
@ -75,18 +75,18 @@ void CheckVersion(void* dummy)
|
||||
else
|
||||
{
|
||||
Rainmeter->SetNewVersion(FALSE);
|
||||
LSLog(LOG_DEBUG, APPNAME, L"CheckUpdate: No new version available.");
|
||||
LSLog(LOG_NOTICE, APPNAME, L"CheckUpdate: No new version available.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
LSLog(LOG_DEBUG, APPNAME, L"CheckUpdate: InternetReadFile failed.");
|
||||
LSLog(LOG_ERROR, APPNAME, L"CheckUpdate: InternetReadFile failed.");
|
||||
}
|
||||
InternetCloseHandle(hUrlDump);
|
||||
}
|
||||
else
|
||||
{
|
||||
LSLog(LOG_DEBUG, APPNAME, L"CheckUpdate: InternetOpenUrl failed.");
|
||||
LSLog(LOG_ERROR, APPNAME, L"CheckUpdate: InternetOpenUrl failed.");
|
||||
}
|
||||
|
||||
InternetCloseHandle(hRootHandle);
|
||||
|
Reference in New Issue
Block a user