use of loge
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user