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:
@ -54,7 +54,8 @@ void VarExpansion(LPSTR buffer, LPCSTR value);
|
||||
void LSSetVariable(const BSTR name, const BSTR value);
|
||||
|
||||
void RmNullCRTInvalidParameterHandler(const wchar_t* expression, const wchar_t* function, const wchar_t* file, unsigned int line, uintptr_t pReserved);
|
||||
void DebugLog(const WCHAR* message, ... );
|
||||
void DebugLog(const WCHAR* message, ... ); // Left to support lines 32-36 in this file, I am not sure what they do.
|
||||
void LogWithArgs(int nLevel, const WCHAR* message, ... ); // Replacement for DebugLog(), has the same functionality but has the option to set teh Log Level.
|
||||
|
||||
void ResetLoggingFlag();
|
||||
|
||||
|
Reference in New Issue
Block a user