mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
- Added #CURRENTSECTION# variable.
For instance: ----- [Variables] Var=#CURRENTSECTION# [StyleString] Text=#CURRENTSECTION# [MeterString] Meter=String MeterStyle=StyleString Prefix="#CURRENTSECTION# / " Postfix=" / #Var#" ----- Displays: MeterString / MeterString / Variables - Additional changes for r677. * Obsoleted DebugLog(). Use LogWithArgs() with LOG_DEBUG instead. * Added Log().
This commit is contained in:
@ -29,12 +29,6 @@
|
||||
#define LM_REGISTERMESSAGE 9263
|
||||
#define LM_UNREGISTERMESSAGE 9264
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define DEBUGLOG DebugLog
|
||||
#else
|
||||
#define DEBUGLOG //
|
||||
#endif
|
||||
|
||||
|
||||
typedef void (BangCommand)(HWND sender, LPCSTR args);
|
||||
|
||||
@ -54,8 +48,9 @@ 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, ... ); // 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 Log(int nLevel, const WCHAR* message); // Wrapper for LSLog().
|
||||
void LogWithArgs(int nLevel, const WCHAR* format, ... ); // 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