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:
@ -152,7 +152,7 @@ void CMeasureDiskSpace::ReadConfig(CConfigParser& parser, const WCHAR* section)
|
||||
m_Drive = parser.ReadString(section, L"Drive", L"C:\\");
|
||||
if (m_Drive.empty())
|
||||
{
|
||||
LSLog(LOG_DEBUG, APPNAME, L"Drive path is not given.");
|
||||
LSLog(LOG_WARNING, APPNAME, L"Drive path is not given.");
|
||||
m_Value = 0.0;
|
||||
m_MaxValue = 0.0;
|
||||
m_OldTotalBytes = 0;
|
||||
|
Reference in New Issue
Block a user