Correctly reset colors in FileLog.
This commit is contained in:
parent
0086020b5c
commit
5019493332
9 changed files with 45 additions and 35 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue