use of loge

This commit is contained in:
2022-07-14 18:39:06 +02:00
parent 9ce1f4a1a8
commit ddbba7399d
5 changed files with 8 additions and 8 deletions

View File

@@ -45,11 +45,11 @@ void Server::StopThread() {
bool Server::Start(std::uint16_t port) {
if (!m_Listener.Listen(port, 10)) {
utils::LOG(utils::format("Failed to bind port %u !", port));
utils::LOGE(utils::format("Failed to bind port %u !", port));
return false;
}
if (!m_Listener.SetBlocking(false)) {
utils::LOG("Failed to block server socket !");
utils::LOGE("Failed to block server socket !");
return false;
}
utils::LOG(utils::format("Server started at port %u !", port));