mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 00:15:04 -05:00
Correctly reset colors in FileLog.
This commit is contained in:
@@ -37,11 +37,11 @@ SysLog::SysLog()
|
||||
|
||||
void SysLog::message(Level level, const char *fmt, va_list args)
|
||||
{
|
||||
vsyslog(level, fmt, args);
|
||||
vsyslog(static_cast<int>(level), fmt, args);
|
||||
}
|
||||
|
||||
|
||||
void SysLog::text(const char *fmt, va_list args)
|
||||
{
|
||||
message(LOG_INFO, fmt, args);
|
||||
vsyslog(LOG_INFO, fmt, args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user