Rework log messages

Former-commit-id: eac93c0fd78fdf353e940d08df3cabf0b962a3e2
This commit is contained in:
brindosch
2016-03-23 17:40:34 +01:00
parent dcd518b6cc
commit fa66c3b2b5
27 changed files with 147 additions and 147 deletions

View File

@@ -14,7 +14,7 @@ BoblightServer::BoblightServer(Hyperion *hyperion, const int priority,uint16_t p
{
if (!_server.listen(QHostAddress::Any, port))
{
throw std::runtime_error("Boblight server could not bind to port");
throw std::runtime_error("BOBLIGHT ERROR: server could not bind to port");
}
// Set trigger for incoming connections
@@ -39,7 +39,7 @@ void BoblightServer::newConnection()
if (socket != nullptr)
{
std::cout << "New boblight connection" << std::endl;
std::cout << "BOBLIGHT INFO: new connection" << std::endl;
BoblightClientConnection * connection = new BoblightClientConnection(socket, _priority, _hyperion);
_openConnections.insert(connection);
@@ -50,7 +50,7 @@ void BoblightServer::newConnection()
void BoblightServer::closedConnection(BoblightClientConnection *connection)
{
std::cout << "Boblight connection closed" << std::endl;
std::cout << "BOBLIGHT INFO: connection closed" << std::endl;
_openConnections.remove(connection);
// schedule to delete the connection object