Correctly reset colors in FileLog.

This commit is contained in:
XMRig 2018-05-19 13:06:49 +07:00
parent 0086020b5c
commit 5019493332
9 changed files with 45 additions and 35 deletions

View file

@ -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);
}