clean ups

This commit is contained in:
badaix 2015-12-29 13:31:19 +01:00
parent 9bac003bb9
commit 6796209c9f
2 changed files with 1 additions and 2 deletions

View file

@ -23,7 +23,6 @@
#include <thread>
#include <atomic>
#include <vector>
#include <alsa/asoundlib.h>
#include "../stream.h"
#include "pcmDevice.h"

View file

@ -58,7 +58,7 @@ int Log::sync()
std::cout << Timestamp() << " [err] " << buffer_.str() << std::flush;
else
{
std::cout << Timestamp() << " [" << std::to_string(priority_) << "] " << buffer_.str() << std::flush;
std::cout << Timestamp() << " [" << priority_ << "] " << buffer_.str() << std::flush;
syslog(priority_, "%s", buffer_.str().c_str());
}
buffer_.str("");