mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-02 07:14:46 -04:00
LogManager cleanup
This commit is contained in:
1 parent
c61a0d9c5a
commit
ea4029caad
14 files changed
+481
-325
No files matched your search
@@ -23,12 +23,12 @@ OpenRGBPluginAPI::OpenRGBPluginAPI()
|
||||
/*---------------------------------------------------------*\
|
||||
| LogManager APIs |
|
||||
\*---------------------------------------------------------*/
|
||||
void OpenRGBPluginAPI::append(const char* filename, int line, unsigned int level, const char* fmt, ...)
|
||||
void OpenRGBPluginAPI::LogEntry(const char* filename, int line, unsigned int level, const char* fmt, ...)
|
||||
{
|
||||
va_list va;
|
||||
va_start(va, fmt);
|
||||
|
||||
log_manager->append_va(filename, line, level, fmt, va);
|
||||
log_manager->LogEntry_va(filename, line, level, fmt, va);
|
||||
|
||||
va_end(va);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user