mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-21 10:27:39 +02:00
fixed deadlock in logger
This commit is contained in:
parent
e35e724110
commit
e45eb08be6
5 changed files with 8 additions and 8 deletions
|
@ -55,7 +55,7 @@ int Log::sync()
|
|||
else if (priority_ == kOut)
|
||||
std::cout << Timestamp() << " [out] " << buffer_.c_str() << std::flush;
|
||||
else if (priority_ == kErr)
|
||||
std::cerr << Timestamp() << " [err] " << buffer_.c_str() << std::flush;
|
||||
std::cout << Timestamp() << " [err] " << buffer_.c_str() << std::flush;
|
||||
else
|
||||
{
|
||||
std::cout << Timestamp() << " [" << std::to_string(priority_) << "] " << buffer_.c_str() << std::flush;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue