update logger

This commit is contained in:
badaix 2017-09-12 21:19:18 +02:00
parent 0c3a881df0
commit 756453f9d2
9 changed files with 44 additions and 37 deletions

View file

@ -145,7 +145,7 @@ void ControlSession::reader()
}
catch (const std::exception& e)
{
SLOG(LOG_ERR) << "Exception in ControlSession::reader(): " << e.what() << endl;
SLOG(ERROR) << "Exception in ControlSession::reader(): " << e.what() << endl;
}
active_ = false;
}
@ -166,7 +166,7 @@ void ControlSession::writer()
}
catch (const std::exception& e)
{
SLOG(LOG_ERR) << "Exception in ControlSession::writer(): " << e.what() << endl;
SLOG(ERROR) << "Exception in ControlSession::writer(): " << e.what() << endl;
}
active_ = false;
}